useradd - user is different between red hat and suse
I execute the following command on Red Hat Enterprise 7.1 and Suse Enterprise 12 and I receive different results.
useradd -m -d /home/Sam -k /etc/skel -g root -r -o -u 0 -s /bin/bash Sam
When issue whoami on Suse the output is Sam but on Red Hat the output is root!
Why is it not Sam?
|