Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I know that /etc/group and /etc/passwd are modified, and /home/user/* is created, but are there others?

Thanks.

share|improve this question

2 Answers 2

up vote 12 down vote accepted

It depends on what NSS system you're using. If it's a standard unix login, typically /etc/passwd and /etc/shadow only. /etc/group is only used if creating a new group or adding the user to supplementary groups.

The files from /etc/skel are typically copied into the new user's home directory, which need not be /home/user

Things such as mailboxes and crontabs are generally created in an on-demand basis, so not when the user is created (the mailbox is normally created when the user receives their first item of email)

share|improve this answer
    
Mailboxes are automatically created on Fedora (since 11 at least). –  Cristian Ciupitu Sep 6 '09 at 1:29

That sounds like about it... As far as I know, other resources (like mail spools and crontabs) are all created on demand. The home directory (copied from /etc/skel) and passwd/group/shadow files are all that should be changed on use creation.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.