PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

bash in chroot: I have no name


Your Ad Here

Your Ad Here

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

photosmart 7760 driver on PC running RH 7.1
I want to attach a HP PhotoSmart 7760 Photo Printer to a PC running Red Hat 7.1 Linux. I once connected a...

Do you meanetc-pbuttwd? This might be the problem. You might also needetc-shadow, or any other databases listed inetc-nsswitch.conf (copy this, too).

When I have set up chroots, I bind mount the files to keep them in sync. For example:

$ mount grep chroot-siddev-mapper-hdavg-sidchroot onsrv-chroot-sid type ext3 (rw)dev-pts onsrv-chroot-sid-dev-pts type none (rw,bind) tmpfs onsrv-chroot-sid-dev-shm type tmpfs (rw) proc onsrv-chroot-sid-proc type proc (rw)dev-mapper-hdavg-home onsrv-chroot-sid-home type ext3 (rw,quota,userxattr)tmp onsrv-chroot-sid-tmp type none (rw,bind)etc-pbuttwd onsrv-chroot-sid-etc-pbuttwd type none (ro,bind)etc-shadow onsrv-chroot-sid-etc-shadow type none (ro,bind)etc-group onsrv-chroot-sid-etc-group type none (ro,bind)etc-resolv.conf onsrv-chroot-sid-etc-resolv.conf type none (ro,bind)

Depending on the need for security in the chroot, you might want to remove some of these mounts.

$ dchroot -c sid id (sid) id uid=1000(rleigh) gid=1000(rleigh) groups=20(dialout),24(cdrom),25(floppy),29(audio),40(src),44(video),46(plugdev),1000(rleigh),1001(sbuild)

Regards, Roger

- -- Roger Leigh GPG Public Key: 0x25BFB848. Please sign and encrypt your mail. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU-Linux)

iD8DBQFCp1fxVcFcaSW-uEgRAvw4AJwJFSNJ-46uq0cCX8O8eQzinCm3WwCghsYx BAZqV8MhxscyPyB7+FFpIN4= =t5PH -----END PGP SIGNATURE-----



Your Ad Here

List | Previous | Next

photosmart 7760 driver on PC running RH 7.1

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

Intel Says: Linux Going NOWHERE ON THE DESKTOP.. 3867