I noticed something strange when I create a new user. Previously I always use to use the 'adduser' command to create a new user. The results showed this...
Code:
cturner:x:1021:100:Chris Turner:/home/cturner:/bin/false
However I recently started using a script that utilized the 'useradd' command. This creates the user fine however when it asks about the users information like room number, phone number, etc etc etc, it creates these messy ',' in the /etc/passwd file.
Code:
cturner:x:1021:100:Chris Turner,,,:/home/cturner:/bin/false
Is there a way to stop the useradd script from doing this? When it prompts me for this data, I normally press enter to leave it blank but I don't want to see these ',' entries in the fields when I finger these users.
Any info?