[NTLUG:Discuss] restricting shell functions in a telnet session
MadHat
madhat at unspecific.com
Thu Apr 20 07:03:31 CDT 2000
Seth Daniel wrote:
>
> >From my bash man page:
>
> RESTRICTED SHELL
> If bash is started with the name rbash, or the -r option
> is supplied at invocation, the shell becomes restricted.
> A restricted shell is used to set up an environment more
> controlled than the standard shell.
>
> Basically it will know that it's supposed to be a restricted
> shell. It's the same thing as using the -r argument.
>
I am running the bash that comes with the distributions, which all
appear to be non bash2.x (which means no -r option, or mention of
rbash), and still my understanding of rsh (the restricted shell I have
used) all you can really do is do better tracking of who runs what and
what they are allowed to run (like with sudo), and does not help in
chrooting a user. Is this correct in this as well?
--
%_=split';','2e;hac;40;not;64;ju;66; Perl ;68;st a;6f;ker;75;her';
print map $_{unpack "H2",$_}, split //,
'madhat at unspecific.com'
# aka Lee Heath, but don't tell anyone.
More information about the Discuss
mailing list