Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

BatchMode: limit commands, prevent shell?

From: Mark Hedges <hedges(at)ucsd.edu>
Date: Thu Jan 09 2003 - 17:03:29 EST

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


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library