[KLUG Members] restricted bash

Adam Williams members@kalamazoolinux.org
Fri, 22 Nov 2002 15:44:47 -0500 (EST)


>It would already be universal that way if it wasn't broken. Or they
>changed it and the man page is completely out of date, but I don't think
>they changed it. I see nothing at
>http://www.gnu.org/directory/GNU/bash.html to make me believe they changed
>it.
>ln -s zsh /bin/rzsh
>works great. Why not bash?

Possibly it is a compile time option and not enabled?

>Also, I don't think login uses shell aliases, and as bashrc is sourced at

No, it doesn't.

>the start of bash, that wouldn't help. Adding the code I posted earlier
>would, but I'm not going to do that because:
>1. It's not me who wants a restricted user, and
>2. Bash is badly broken (apparently) and that's just a band-aid.

I think it how those pyros at Debian compiled it.

lnx01688:/bin $cd /tmp
rbash: cd: restricted

Works on RedHat. 

:@  <-- Thats me sticking my tongue out at those crazy Debian people.