On Sun, 30 Mar 2003, KC wrote:

> thank you very much, I read the parts of the man file talking about
> "RESTRICTED SHELL(s)"
> I understand the concept, I'm not sure how I would set this on a certain
> user though.. could you help me with this?

Well.....I'm scratching my head on this one.  I did what I thought would
work (and it works on my Solaris 8 box) but not on my RH 8.

As root I took these 3 steps.

1.  In /bin I "ln -s bash rbash" to create the symbolic link.

2.  In /etc/passwd I changed the user's shell to /bin/rbash.

3.  Added /bin/rbash to the /etc/shells file.

Hummmm......need more coffee.....

As I said, this works just fine under Solaris.  Must be missing something
subtle.

Ed

P.S.  Doing the above is just the first step to getting a user really
restricted.  I believe more needs to be done....but since I don't do it
that often.....

-- 
http://webcams.greshko.com/  Do you this man, Peter Boeni?
http://www.shorewall.net/  for all your firewall needs



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to