Bruce Perens writes:
> [EMAIL PROTECTED] said:
> > [empty shell fields in /etc/passwd mean /bin/sh]
>
> This is common practice, and perhaps important if you are using
> a Yellow Pages password database that originates on a different
> system.
I see. I don't really approve, but such things are to
[EMAIL PROTECTED] said:
> [empty shell fields in /etc/passwd mean /bin/sh]
This is common practice, and perhaps important if you are using
a Yellow Pages password database that originates on a different
system. Use "/dev/null" as the shell if you want to disable the login.
Thanks
Package: ?
I recently created a special-purpose entry in /etc/passwd, with an
empty shell field. I was surprised to see that `finger' reported the
shell as `/bin/sh', and tried using `su' from a root shell to su to
the account. Sure enough, I got a shell.
This seems wrong to me, particularly in
3 matches
Mail list logo