]> err.no Git - util-linux/commit
chsh: don't use empty shell field in /etc/passwd
authorKarel Zak <kzak@redhat.com>
Tue, 14 Aug 2007 10:04:09 +0000 (12:04 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 14 Aug 2007 10:04:09 +0000 (12:04 +0200)
commite93a1aae2f1d7f419d8b1ec7ffd40a458a1b06af
tree36b532a9b5f6318174d68516d0f99199c47f4d9b
parent99bd8154adb07352e5bdd9821f612c07d97b8522
chsh: don't use empty shell field in /etc/passwd

chsh(1) uses empty shell setting (pw->pw_shell="") as a synonym for
/bin/sh. This convention is silly and unnecessary. (The vsftpd server
will not run if the shell assigned to user "ftp" is a null string --
according to bug rh#103004).

Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/chsh.c