Thread View: comp.bugs.sys5
1 messages
1 total messages
Started by James A Young
Tue, 11 Aug 1992 15:29
Re: chroot feature of V.4.0 login(1)
Author: James A Young
Date: Tue, 11 Aug 1992 15:29
Date: Tue, 11 Aug 1992 15:29
17 lines
1083 bytes
1083 bytes
With some help from a couple of people on the Internet I was able to get the chroot feature of login(1) to work. My problem was that my /root/dev directory was in a mounted file system. login(1) calls ttyname(3C), which checks to see if the following conditions exist when it is searching for the file name of the parameter passed in from login(1): a) major & minor device numbers b) inode number c) file system ID If it fails to match on all three it will settle for just a) AND c). Since I had created my sublogin root directory in a mounted file system I never got a match. Jim Young 8young@rsvl.unisys.com Roseville Development Center Unisys Corp.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads