I see various examples of how to add a user on Ubuntu server
I have Ubuntu 10.04.2 LTS
I was logged in as root and, when running
adduser, my SSH command line asked me for both a 'new password' AND then a 'new UNIX password'.
I was not quite sure what the difference is and wondering why it ask for two types of password.
Why does the
adduser command behave surprisingly and how do I go about investigating how and why it veers from the default Ubuntu behaviour?
-------- # adduser joe Adding user `joe' ... Adding new group `joe' (1007) ... Adding new user `joe' (1003) with group `joe' ... Creating home directory `/home/joe' ... Copying files from `/etc/skel' ... Enter new password: Retype new password: Enter new UNIX password: ------
Update: Since gaining a better understanding of the issue from feedback from mattdm and AlexD, I have modified this question from its original form which was: "What's the difference between 'new UNIX password' and 'new password' on linux, when adding new user?"