[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [off-topic?] Chrooting ssh/telnet users?



Sunny Dubey <dubeys@bxscience.edu> writes:

> > The problem is, how can an admin restrict remote access from a given
> > user (through telnet and/or sshd) in order to limit his "moves" inside
> > the operating system.
> 
> no idea if this will help
> 
> but you could change their shells from bash to rbash (or bash -r)
> its pretty crappy however

rbash seems to go out of its way to make life hard for someone - no ability
to execute `cd' or `alias' at all, that sort of thing. It's not a lot of
use if you want a complete chroot()ed environment with ability to do
whatever they like within it; it's normally more useful to be able to
organize your files into directories which rbash doesn't exactly help with.

~Tim
-- 
The light of the world keeps shining,       |piglet@stirfried.vegetable.org.uk
Bright in the primal glow                   |http://spodzone.org.uk/



Reply to: