Hide Forgot
If I create a user account: [root@localhost ~]# useradd -U -G wheel -d /home/test3 -m -c test3 test3 with shadow-utils 4.3.1-1.fc26, I cannot use it: [root@localhost ~]# su test3 This account is currently not available. but if I do the same with shadow-utils 4.2.1-11.fc25: [root@localhost ~]# useradd -U -G wheel -d /home/test2 -m -c test2 test2 it works fine: [root@localhost ~]# su test2 [test2@localhost root]$ This is how anaconda creates user accounts, so a consequence of this is that you cannot log in as any account created by anaconda. This breaks most openQA tests at present (as they tend to try and log in as a regular user after boot). The offending build isn't in F25, fortunately...
it seems that 4.3.1 sets the user's shell as /sbin/nologin , while 4.2.1 sets it as /bin/bash .
'man useradd' claims the default shell is whatever's specified as SHELL= in /etc/default/useradd , but that file says: SHELL=/bin/bash i.e. it's not the file that's at fault, it's useradd's reading of it or something.