whats happen when we create new user


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers whats happen when we create new user
# 1  
Old 08-01-2008
whats happen when we create new user

hi frndz

I wanna knw exatly what happen when we create new user...
which directories are created ??
which files are modified ??

thanx....
# 2  
Old 08-01-2008
That depends solely on which OS you are and which tool/way you use to create a user.
Basically there will be an entry made to /etc/passwd, when used /etc/shadow and /etc/group. Some other OS'es have a bit more files that are updated, often under /etc/security.
Some tools on some OS'es generate a home dir, some do not or only when told to do so.
# 3  
Old 08-02-2008
More Deatil

Quote:
Originally Posted by zaxxon
That depends solely on which OS you are and which tool/way you use to create a user.
Basically there will be an entry made to /etc/passwd, when used /etc/shadow and /etc/group. Some other OS'es have a bit more files that are updated, often under /etc/security.
Some tools on some OS'es generate a home dir, some do not or only when told to do so.

Thanx zaxxon for reply...
Acctually i wanna know the one by one step to create a user and its effect on os...
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find if a User exist if not create user

What I'm trying to do is write a script in Perl to find a user and if that user exist it would print "User Exist, Pls Try Again". If The user doesn't exist I'm able to create a user with a password. Any suggestions? (3 Replies)
Discussion started by: GoBoyGo
3 Replies

2. Emergency UNIX and Linux Support

How to create user?

Hi, Quick question. How to create user in Unix after they login at the first time then they need to change password. Thanks in Advance :):) (5 Replies)
Discussion started by: justbow
5 Replies

3. Homework & Coursework Questions

Create script to add user and create directory

first off let me introduce myself. My name is Eric and I am new to linux, I am taking an advanced linux administration class and we are tasked with creating a script to add new users that anyone can run, has to check for the existence of a directory. if the directory does not exist then it has... (12 Replies)
Discussion started by: pbhound
12 Replies

4. Ubuntu

Create New User with the same group nd privileges of the other user

Hi, Anyone can help me on how to duplicate privileges and group for useroradb01 to userrootdb01. I have currently using "useroradb01" and create a newly user "userrootdb01". I want both in the sames privileges and group. Please see the existing users list below; drwxr-xr-x 53 useroradb01... (0 Replies)
Discussion started by: fspalero
0 Replies

5. UNIX for Dummies Questions & Answers

Whats is the user of $ and # in UNIX ???

Whats is the user of $ and # in UNIX ??? (2 Replies)
Discussion started by: Paynemax
2 Replies

6. UNIX for Dummies Questions & Answers

I create user but i cant login the user i created.

I created a user, i login as a root. I add him in the group where he can access and login as a root! I checked it in users' list and in group's list, he is there. My problem is this, I cant login using the username/account I just created! What should i do to use and login the user/account i've just... (5 Replies)
Discussion started by: jerome
5 Replies

7. UNIX for Advanced & Expert Users

Other than root user .Normal user is unable to create files

Hi all, I am using Sun Solaris 9 .In this system normal users unable to create files from the command line.I added these users in bin,adm and even root group i found them unable to create a file. (1 Reply)
Discussion started by: mallesh
1 Replies

8. UNIX for Dummies Questions & Answers

What would happen if. . .

Hi, Could someone please tell me what would happen if the following were entered into the command line: rm -i /books/*.* rm /books/* Many thanks! (3 Replies)
Discussion started by: crispy
3 Replies

9. Programming

Any one can tell me how this happen?

The #1 Online Store for Louis Vuitton Replicas is: http://www.opichina.com.cn. We offer Louis Vuitton Replicas and more! Whatever you call it: LV Bags, LV Replicas, Louis Vuitton Fake, Louis Vuitton Knockoffs, Louis Vuitton Bag, Louis Vuitton Purse, Louis Vuitton Wallet, Louis Vuitton Shoes,... (10 Replies)
Discussion started by: jiangyanna
10 Replies

10. UNIX for Dummies Questions & Answers

what happen when changing Hostname?

I 'm using RH 7.2 Genome in the Network Configuration I change therer are two places one for static hostname for my machine and in DNS hostname I don't know what happen when restarting my PC when connecting using dialer I can't browse the Internet also I can't use sendmail .......Server timeout... (2 Replies)
Discussion started by: atiato
2 Replies
Login or Register to Ask a Question