BatchMode: limit commands, prevent shell?
Earlier I wrote:
> I couldn't find in the archive where anyone talks about using
I was kind of confused. I set the PATH in ~user/.bashrc to
just one special directory, but can I chroot the login there?
Running `exit` at the top of ~user/.bash_profile seems to
prevent a shell login, but is that safe? Maybe a split-second
before running exit, could ^C interrupt sourcing of .bash_profile?
--mark--
Received on Sat Jan 11 17:42:26 2003
This archive was generated by hypermail 2.1.8
: Wed Aug 23 2006 - 14:02:52 EDT
|