0
Regarding the useradd
command, there is an option -p
for setting the password. But, it seems that it doesn't work and I have to later enter passwd
command.
useradd -d /export/home/au -G users -p 123456 -s /bin/bash au
Also, there is a minor question. I want to redirect the default /home/au
to /export/home/au
. Should I use -m
or not?