[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Shells /bin/badsh
- Subject: Re: [cobalt-users] Shells /bin/badsh
- From: "Zeffie" <cobalt-proj@xxxxxxxx>
- Date: Mon Apr 30 07:57:13 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> I have not seen this shell before /bin/badsh. Is this a cobalt convention,
> or is it part of the standard linux disribution.
> The reason I ask is because I would like to use this on another RH linux
> box.
Cobalt has 2 versions of badsh
on mips it's a perl script and on i386 it a binary
as I recall the history, the last entry in a users passwd entry is the users
shell to run at login time. and if you left it blank the user was denied
access.... well that wasen't good enough so... somebody made a perl script
and then cobalt "adjusted" it and that's on the mips. Well that wasen't
good enough so... on 1999-07-31 Jim Meyering changed it to a c program.
That makes the binary thats now on the cobalt i386 units with a little
adjustment from cobalt..
/bin/false <<< this it waht it's really called
it's part of the gnu shell-utils
http://www.gnu.org/software/shellutils/shellutils.html
ftp://gnu.egr.msu.edu/pub/gnu/sh-utils/
Basicly false is the original and cobalt added something to tell the user
they don't have access...
if you do something like
[root net]# mv /bin/badsh /bin/cobaltbadsh
[root net]# ln -s /bin/false /bin/badsh
you can see the diffrence...
it's also on almost everything including redhat
Zeffie
http://www.zeffie.com/