[ale] how to create user with no password

James P. Kinney III jkinney at localnetsolutions.com
Fri Feb 27 15:30:51 EST 2004


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.

-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list