On Sun, 21 May 2000, Ali wrote:

> Hello every one,
> 
> Using Redhat 6.2, I would like to setup telnet or
> SSH in such a way that when a user logs in, his home directory
> becomes his jail and he can cd .. to the above directory
> or any other directory on the system.
> 
> Is it possible? and how?
> 
> Thank you for your time,
> 
> Ali
> 
> 
Check into rbash.  There is an option with Bash to make it a restricted
shell when it is invoked as rbash.  Unfortunitly, the version shipped with
RedHat doesn't seem to have this enabled... 

Mikkel
-- 
    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to