[ale] how to create user with no password
Geoffrey
esoteric at 3times25.net
Fri Feb 27 15:57:21 EST 2004
James P. Kinney III wrote:
> On Fri, 2004-02-27 at 10:07, Danny Cox wrote:
>
>>James,
>>
>>On Thu, 2004-02-26 at 11:27, James P. Kinney III wrote:
>>
>>>And while your editing the /etc/passwd file, change the line that reads:
>>>/bin/bash
>>>to:
>>>/bin/false
>>
>> Actually, this is dangerous. It starts a shell, which begins to parse
>>/bin/false and if you can catch it between the time it starts, and when
>>it exits with an interrupt, the shell will happily give you a prompt!
>>
>> Perhaps bash doesn't do this now, but I'll bet you a purty (I can use
>>that term, as I was born here) that it will!
>>
>> Mr. Toxen, confirmation please?
>
>
> I think you are correct in this. /bin/false _used_ to be a special "null
> shell" replacement. In RedHat it exists and and does load a bash shell
> to run from.
SuSE 9.0 it is a binary.
--
Until later, Geoffrey Registered Linux User #108567
Building secure systems inspite of Microsoft
More information about the Ale
mailing list