[ale] how to create user with no password

Danny Cox danscox at mindspring.com
Fri Feb 27 10:09:14 EST 2004


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?

-- 
kernel, n.: A part of an operating system that preserves the
medieval traditions of sorcery and black art.

Danny



More information about the Ale mailing list