[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: question..
- From: "Kevin D. Colby" <kevin marcal com>
- To: redhat-install-list redhat com
- Subject: Re: question..
- Date: Fri, 7 Nov 1997 09:43:04 -0600
>Is there a way to restric the "cd" command to specific users, so that when
>they execute the command it promps like "permision denied " or somthing
>similar ?
Now why on earth would you want that?!?!?
Even suppossing you did that, the absolute paths will _still_work_
and they can do everything they could before, just with a little
more typing.
>>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.
rsh is THE BALM THAT SOOTHES.
>>2. write a shell script that just exits and set that script to be their
>>shell. I think that should work ...
Yeah it'd work great till someone broke out of the script. ;^)
Seriously folks, check out rsh. For limiting a user's filesystem
visibility scope, check out chroot (change their concept of '/'
to something like '/home/userhome'.)
- Kevin Colby
kevin marcal com
-- I seem to be on a roll this morning... ;^)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]