Hi Guys
Brand new to Linux and I have my first question.
Been going through some learning and have used the 'useradd' command to add a user.
Having set a password also, I logged out of Mint to login as the new user. Didn't work, just returned me to the login screen. Checked password and ran a couple more times.
Since noticed that in Terminal useradd sets the users home dir as /bin/sh. In Mint users home dir goes to /bin/bash. 'bash' works and allows me to login as the new user.
I note that 'adduser' creates home dir in /bin/bash. (same as in Mint)
What is the difference, should I not use 'useradd'?
Thanks
Brand new to Linux and I have my first question.
Been going through some learning and have used the 'useradd' command to add a user.
Having set a password also, I logged out of Mint to login as the new user. Didn't work, just returned me to the login screen. Checked password and ran a couple more times.
Since noticed that in Terminal useradd sets the users home dir as /bin/sh. In Mint users home dir goes to /bin/bash. 'bash' works and allows me to login as the new user.
I note that 'adduser' creates home dir in /bin/bash. (same as in Mint)
What is the difference, should I not use 'useradd'?
Thanks