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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create an account in UNIX server

Status
Not open for further replies.

adaaje

Technical User
May 26, 2006
60
AU
Hi guys,

I've been using unix server for a while and Just wondering how to create an account into unix server ?

Also how to see how many users using the servers (active and inactive) ?

Do I need root access for that ?

Thx guys
 
It depends on the flavour of Unix you are using.
There may or may not be a graphical interface.
But you should always be able to use command line interface.

For a start, your 1st question, something like
man adduser
man useradd
You will need root access for executing these commands,
but not for reading the manual.

and 2nd:
man who
man finger
man ps
cat /etc/passwd

hope this helps
 
As a rough (Solaris) guideline to create account "newuser"
(must have root access) and a newgroup

mkdir –p /export/home/newuserdir
groupadd –g 201 newgroup
useradd –d /export/home/newuserdir –g newgroup –u 202
–s /bin/ksh newuser

You will of course have to add a password and modify permissions
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top