rpm -q --file /etc/shells setup-2.8.57-1.fc18.noarch after UsrMove /usr/bin/bash is a perfectly valid shell because it is the physical location _________________________ [root@fileserver:~]$ system-config-users The value for the SHELL variable was not found the /etc/shells file This incident has been reported [root@fileserver:~]$ cat /etc/shells /bin/sh /bin/bash /sbin/nologin [root@fileserver:~]$ cat /etc/passwd | grep root root:x:0:0:root:/root:/usr/bin/bash
You are right, I even think I should add even /usr/bin/sh and /usr/sbin/nologin for the "sanity". I don't think anyone will use these constructs, but these are perfectly valid too (and they mean one less symlink resolving ;) )
the "one less symlink resolving" is te reason why i changed nearly anything from crontab, /etc/password to my personal scripts to /usr/bin/bash long ago and there are very few fragments like system-config-users which are not happy with this
Just as a sidenote, already built in Rawhide as setup-2.8.67-1.fc20.
thanks please do not push a update without these change for F17/F18 my /etc/shells is for now manually fixed on all my machines :-)
/etc/shells is config noreplace and is changed by other shell packages, so I'll close this bugzilla rawhide. Of course, if I do some setup F17/F18 update in future, I'll include this change.