Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-28-2009, 09:17 AM
|
#1
|
LQ Newbie
Registered: Nov 2009
Posts: 2
Rep:
|
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
|
|
|
11-28-2009, 11:00 AM
|
#2
|
Member
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 343
Rep:
|
try adduser instead
|
|
|
11-28-2009, 11:08 AM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350
Rep:
|
With "useradd" you have to create home disrectory manually, or specify it with -m
|
|
|
11-28-2009, 11:12 AM
|
#4
|
Member
Registered: Oct 2007
Location: UK
Distribution: Ubuntu
Posts: 63
Rep:
|
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?
|
|
|
11-29-2009, 10:29 AM
|
#5
|
LQ Newbie
Registered: Nov 2009
Posts: 2
Original Poster
Rep:
|
Thank you
Quote:
Originally Posted by explodingzebras
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 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
|
|
|
11-29-2009, 10:53 AM
|
#6
|
Member
Registered: Sep 2006
Location: Canada
Distribution: Gentoo
Posts: 702
Rep:
|
Did you use the useradd command with the parameter to create the user's home directory (-m)?
Look over the options:
|
|
|
11-29-2009, 10:57 AM
|
#7
|
Member
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 343
Rep:
|
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 07:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|