User: Password:
|
|
Subscribe / Log in / New account

Debian on AMD64

Debian on AMD64

Posted Dec 2, 2004 7:38 UTC (Thu) by dlang (subscriber, #313)
Parent article: Debian on AMD64

how can you have an app that runs in the chroot jail access files that are in more normal locations?


(Log in to post comments)

Debian on AMD64

Posted Dec 2, 2004 9:16 UTC (Thu) by gevaerts (subscriber, #21521) [Link]

mount /etc/passwd /chroot/etc/passwd -o bind
mount /etc/shadow /chroot/etc/shadow -o bind
mount /etc/group /chroot/etc/group -o bind
mount /home /chroot/home -o bind

should do the trick. Of course, using ldap authentication the first three are not needed.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds