[KLUG Members] restricted bash

members@kalamazoolinux.org members@kalamazoolinux.org
Fri, 22 Nov 2002 19:04:16 +0000


Why not use an alias in /etc/bashrc?

alias rbash='bash -r'

   It would be universal that way...

   Goose
> 
> >>/bin/rbash is a symlink to /bin/bash. According to the man page, if
> >> bash sees that it is called as rbash, it should run restricted: i.e.,
> >> it should run as if it had been called as 'bash -r'.
> >
> > Have you tried hard linking rather than sym-linking?
> 
> Hell, I simply copied the file. I submitted it to Debian with an
> 'upstream' tag. Does it work for you?
> 
> -- 
> for gpg key - http://www.killdevil.org/~peter
> You can fill my head with Gummi Bears,
> but I won't talk! -- Tom Servo, K13.
> 
> 
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
>