How to add new user to system with fullname
I am trying to add new users to the system by using a shell script.
The shell script reads the user information from a file that is formatted like this:
username:password:groupname:fullname
I have tried using (useradd -c $fullname $username) BUT
what I really need is to allow the fullname to have a space between the first and last name.
HOw do I allow spaces??
|