[svlug] editor and shells

dfox@belvdere.vip.best.com dfox at belvdere.vip.best.com
Sat Jul 29 20:43:01 PDT 2000


> I would like disable them to cat the passwd file for example when I put an exec /path/to/editor in their .profile .

Difficult on a case-by-case basis -- for instance, I don't need shell
to simply read a file (:r /etc/passwd) in vi. What you probably want
to do here is set up a 'chroot jail'. That restricts your users to
only those things you explicitly want them to do, and prohibits access
to files/directories that you don't want them to peek into.


> Emmanuel




More information about the svlug mailing list