[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1794: bin/sh is shell when none specified in /etc/passwd



Bruce Perens writes:
> ian@chiark.chu.cam.ac.uk 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 too late to change
at this late stage of Unix's development ...

>  Use "/dev/null" as the shell if you want to disable the login.

Perhaps this should be done for all the non-login accounts in
/etc/passwd, by default ?

Ian.


Reply to: