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

Re: question..



Ihab Khoury wrote:
> 
> Greetings,
> I have few questions regrading permissions on my linux RH4.1.
> 
> 1.Is it possible that I can stop users from cd to / ..that is when they
>   telnet to the server I want then to be restricted to there own home dir.
> 2. If that is not possible can I disable telnet for certain users ?

1. you can give a user the restricted sh (rsh) ... that restricts a lot
of things like you mentioned above.  Look at its man pages for more info
on it.  there might even be restricted versions of the other shells but
i don't know off hand.

2. write a shell script that just exits and set that script to be their
shell.  I think that should work ...

john



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