[ale] how to create user with no password
Michael D. Hirsch
mhirsch at nubridges.com
Fri Feb 27 16:42:28 EST 2004
On Friday 27 February 2004 03:29 pm, 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.
On my RH 9 system it is an elf executable, not a shell script.
More information about the Ale