UNIX 6 - User Accounts User accounts are listed in...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1 UNIX User & Group Management CNIT 34000 – Lecture 6 User Accounts User accounts are listed in /etc/passwd Each line contains information for one user Accessed by multiple daemons Mail daemon Print daemon Etc. Passwords /etc/passwd originally contained the encrypted password An 8 character phrase encrypted with DES using the password as the key Passwords are now kept in a hidden shadow password file /etc/passwd Contents Each line consists of name:codedpassword:UID:GID:user information:home-directory:shell name – username of the user codedpassword – just a placeholder at this point UID – the user’s identification number Typically UIDs less than 100 are system accounts GID – the user’s group identification number Must correlate to a GID in /etc/group user-information – the user’s full name home-directory – the user’s home directory Usually /home/name shell – the startup shell for the user /bin/csh Adding Users Most UNIX implementations give you a command
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/07/2010 for the course CNIT 340 taught by Professor Rawles during the Fall '09 term at Purdue University-West Lafayette.

Page1 / 2

UNIX 6 - User Accounts User accounts are listed in...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online