i 've never done that because i don't see the advantage of it.
something like "chroot /home/directory /bin/bash" as a shell should do   
it.

i forgot to mention that you will need to set up an /etc  directory under   
you users home dir too with at least /etc/passwd in it.
then you will need to put statically linked binaries or all the shared   
libs needed in their home dir too.
surely they will miss some /dev/tty devices too...

i really think this is too much trouble.

pascal

 -----Original Message-----
From: Pizi [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, April 22, 1999 5:46 PM
To: LENGARD Pascal           OCISI; [EMAIL PROTECTED]
Subject: Re[2]: chroot

LPO> i mean, you will have to put in his home directory all the shared   
libs he
LPO> needs plus all the binary and data files he needs ...
LPO> so you will have to duplicate half your filesystem to each home dir   
...

This is no problem, but what to set?
shell in /etc/passwd?
Or bash.rc?
Where put chroot command?

Reply via email to