Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a new User in Linux

Status
Not open for further replies.

singamalai

IS-IT--Management
Feb 17, 2004
15
US
I am new to Linux. When i boot the linux server it stays in command mode (is it the right word?). I can logon as a user but want to create another user. I want to go to either GUI format or onto Desktop from this command screen. Can someone help me how do i go to the Startup Screen. I know the Linux Desktop screen looks something like Windows Desktop. From there what should i do to create a new user. This is very urgent and critical. any help is really appreciated.
Thx
 
After you logon on, type startx to get to the gui. If you just want to add a user from the command line, type adduser username. Username is whatever you want the account name to be.
HINT: Buy a book, it will be easier in the long run.
 
thx for the reply. when i typed startx the screen goes to flashy with X in the middle and comes back to original command screen and says some error that ur /etc/xxxx is not normal etc.,

i need to add a user to this server asap. what else do you suggest??

thx again
 
It may be a best way to start your server directly in a graphical mode.

Let's try it. Log on the machine with root account and type "init 5" without quotes indeed.

X and the window manager should start
 
If you're in a hurry, just issue this command if your are logged in as root:

#useradd newguy -p secret

This will create a new user called newguy and give him the password "secret". Since no other options are used here, his home directory will be /home/newguy and he will belong to the group newguy. His longin shell will be the system default which I think is /usr/bin/bash.

 

command screen and says some error that ur /etc/xxxx is not normal etc.,

Sounds like the xserver isn't configured correctly? I'd tackle that first before trying to let multiple users logon (if they expect to be running X apps).

----
JBR
 
thx for your replies. Actually I wanted to create CVS accounts for some users on this Server. Also I came to know that the GUI components were not installed to make the server run faster. So my objective here is to create CVS accounts on this Server which boots only into command mode. Can someone help me please.
thx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top