[KLUG Members] restricted bash

members@kalamazoolinux.org members@kalamazoolinux.org
Fri, 22 Nov 2002 16:29:24 -0500


>>>Not the Red Hat 8.0 install I tried it on. And how did you invoke it?
>>su -
>>cd /bin
>>ln -s bash rbash
>>^D
>>rbash
>Okay, do me a favor and try this: make a test account or play with your
>own, if you like, and change the shell in /etc/passwd to /bin/rbash. I got
>rzsh to work properly this way, but not rbash.

Huh, that don't work.  It results in a perfectly normal bash shell.

So I guess it is those wing-nuts at GNU, and not Debian after all (DRATS!)

I tried "exec rbash" from my own shellm thinking maybe it was the way it was
called (login exec's the shell over itself), but that did work.  Very strange.