Could this be a sign of useradd ignoring everything in /etc/default/useradd? I've stumbled upon a problem when changing the default HOME base directory. Example:
I think useradd is not only ignoring the SHELL variable (though I didn't change it in this example), but also the rest of variables that appear in /etc/default/useradd.
Could this be a sign of useradd ignoring everything in /etc/default/ useradd? I've stumbled upon a problem when changing the default HOME base directory. Example:
# useradd -D MAIL_SPOOL= no x:5012: 5012::/ home/testuser14 :
GROUP=100
HOME=/tmp
INACTIVE=-1
EXPIRE=
SHELL=/bin/sh
SKEL=/etc/skel
CREATE_
# useradd -m testuser14
# grep testuser14 /etc/passwd
testuser14:
I think useradd is not only ignoring the SHELL variable (though I didn't change it in this example), but also the rest of variables that appear in /etc/default/ useradd.