Richard Howlett typed (on 16Sep):
| > How do I change ther root directory of a login account so the user would
| > see / as a
| > user home directory when logged in with telnet or ftp??
| > I have try to change the /etc/passwd in my 5.0.4 the home directory:
| > /home/user by /home/./user
| > but does not work
| Try just a single slash ( / ) in the /etc/passwd file
The question was not how to change any old user to have / as a home
directory -- which is not a particularly useful idea in the first place.
The question was how to have a real user chroot'd to the ~user
directory, just as the anonymous ftp user is chroot'd to the ~ftp
I don't think it can be done. And if it *could* be done, then what system
binaries could that user run?
[I rule out the notion of giving that user a restricted shell...]