[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in testing for a restricted shell

From: Chet Ramey
Subject: Re: bug in testing for a restricted shell
Date: Tue, 21 Sep 2004 11:00:45 -0400

> Machine Type: i686-unknown-linux-gnu
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
> Description:
>       Trying to set up a user who logs into a restricted shell.  Set
>       shell field in /etc/passwd to /usr/rbin/rbash, add filename to
>       /etc/shells, copy bash to /usr/rbin/rbash.
>       User logs in over ssh, but is not in a restricted shell.
>       This is because in a login shell, the shell is "-rbash", with
>         a leading minus.

This was fixed in bash-3.0.


``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Chet Ramey, ITS, CWRU    address@hidden    http://tiswww.tis.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]