PDA

View Full Version : [ubuntu] Super user Rights



krsnavan
June 28th, 2008, 08:43 AM
i installed server from Zimbra.

Tried to install Xwindow packeage n it asks super user username password.

But during installation, tehre is no option to select n create super user account n username!

how to do it?

vanna

iaculallad
June 28th, 2008, 08:50 AM
On your terminal:

Create the user:


useradd -c "FirstName LastName" -g admin -d /home/desired_username -s /bin/bash desired_username


Set the password:


passwd desired_username

krsnavan
June 28th, 2008, 09:15 AM
when i try to add,it says

unable to lock password file.

iaculallad
June 28th, 2008, 09:21 AM
when i try to add,it says

unable to lock password file.

Try inserting sudo before those commands:


sudo useradd -c "FirstName LastName" -g admin -d /home/desired_username -s /bin/bash desired_username


sudo passwd desired_username