0
I'm trying to create new user with default values, but it gives me error that such option is invalid. So does something changed and I need to use something else to create user with default values?
sudo useradd -n user
useradd: invalid option -- 'n'
I'm using ubuntu 14.04.
I solved this with
adduser
command, that helped craeting user interactively. Usinguseradd
always created user with some strange options. Like you couldn't even usecd
and I guess shell default profile was not used so it looked strange. But withadduser
it creates user with all default options my first linux user gets (except access rights of course) – Andrius – 2014-09-08T13:20:42.090