adding user via the command lin
Hi,
I just added a user in ubentu using the following command: sudo useradd lmorgan I set the user's password but when trying to login as the user I got few errors on tools that can;t be created or the users. Any idea why? Thank you for your feedback. Avi |
try adduser instead
|
With "useradd" you have to create home disrectory manually, or specify it with -m
|
I presume you're using ubuntu in commandline only such as in ubuntu server, if not then the User and Groups menu in Gnome would surely be the better option?
|
Thank you
Quote:
Thank you for your feedback, using the GUI is the best way but I want to learn, that is why I am using the command. Thanks Avi |
Did you use the useradd command with the parameter to create the user's home directory (-m)?
Look over the options: Code:
$ man useradd |
from man useradd:
"useradd is lowlevel so, on debian, admin should use adduser instead" or sth like that... ubuntu is based on debian |
All times are GMT -5. The time now is 12:30 AM. |