LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-18-2006, 10:10 AM   #1
bossdog22
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Rep: Reputation: 0
How do you create a user account from command line???


I installed Ubuntu from the CD... when the install got to the point where it asked to create a user account it continued to loop over & over & over like the Energizer Bunny (meaning I would enter a username, password, confirm the password and it would take me back to enter a username again)... finally, I just clicked cancel and thought I would be able to login as root and create a regular user account... the problem now is that I cant login as root from the console (it tells me the system administrator can't login from this page or something)... the only access I have is to select to boot in recovery mode from the boot loader, then when it enter my root password its accepted but I don't know how to create a user account from there... all the documentation I've read so far tells you have to create accounts from system>admin>user accounts>etc., but I can't login to the console to do it that way... does anyone know how to get to console using my root account or some other workaround??
 
Old 04-18-2006, 10:42 AM   #2
librano
Member
 
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163

Rep: Reputation: 31
the command is 'adduser'

in command line type 'man adduser' and u should get all the available options you may use while creating your new user... and how to use the adduser command

hope i helped... and that you get your problem solved...
 
Old 04-18-2006, 11:40 AM   #3
bossdog22
LQ Newbie
 
Registered: Apr 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the reply librano, I wish I could say the problem was fixed but its not... here's what I get from the command line:

root@ubuntu:~# adduser me
Adding user 'me' ...
Adding new group 'me' (1000).
Adding new user 'me' (1000) with group 'me'.
Creating home directory '/home/me.'
chown 1000:1000 /home/me: Operation not permitted
Cleaning up.
Removing directory '/home/me'
Removing user 'me'.
Removing group 'me'.
groupdel: group me does not exist
root@ubuntu:~#

Is there anything I can do to make the operation permissable? Or is there some other problem?
 
Old 04-18-2006, 01:06 PM   #4
librano
Member
 
Registered: Jul 2004
Location: Here, there and everywhere.
Distribution: Arch+KDE, Linux Mint Fluxbox CE
Posts: 163

Rep: Reputation: 31
hi

i am not a linux guru... so maybe i am not right...

try creating the user group first and then the user... do this using 'groupadd' ... see the man docs for groupadd as well...

i say this because it tries to assign the home folder of 'me' to user id 1000 and group id 1000... this is where it fails... and at the end it says 'group me doesnt exist'.. thats my reasoning...

otherwise... if i was you... since you seem to be doing a fresh install just try reisntalling and see if all goes well... there might be a problem with your cd as well... did you check the md5 sums?

i am not an expert when it comes to permissions... i am having some problems of my own with k3b...

anyone else who can help?!

lib.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux create user account deus1 Linux - General 2 06-04-2005 06:32 PM
Create a New Super user account blazted Linux - Newbie 6 02-13-2005 03:56 PM
how to create root-like user/account? rsumbeling Linux - General 6 11-23-2004 12:38 PM
cannot create new user account kpachopoulos Linux - Newbie 4 08-17-2004 07:38 AM
Networking command line/user account questions daburz Linux - Networking 1 06-20-2004 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration