| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
/etc/passwd User account information is stored within this file. This information is stored in fields separated by colons (:). A partial example passwd file is shown: root:x:0:0:root:/root:/bin/bash bin:x:1:1:bin:/bin:/sbin/nologin daemon:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin tbowe:x:501:502:Travis Bowie:/home/tbowe:/bin/bash aflores:x:503:504:Avelina Flores:/home/aflores:/bin/bash slucio:x:504:505:Steve Lucio:/home/slucio:/bin/bash cmilford:x:505:506:Craig Milford:/home/cmilford:/bin/bash The various fields in the file can be identified as follows:
Modifications to this file can be made using a text editor from the root account, however caution is in order. Incorrect modifications can lock out accounts and if the root account is disabled it can be difficult recovering from such an error. Use the proper commands (useradd, userdel, usermod) to modify this file.
Home - Table Of Contents - Contact Us CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com Version 1.0 - Version Date: March 29, 2005 Adapted with permission from a work created by Tcat Houser et al. CertiGuide.com Version © Copyright 2005 Charles M. Kozierok. All Rights Reserved. Not responsible for any loss resulting from the use of this site. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||