September 30, 2015

Contents of /etc/passwd

□ /etc/passwd file is storing system user's basic information

□ Form
  [User_Account]:[User_Password]:[UID]:[GID]:[Comment]:[Home_Directory]:[Login_Shell]

□ Example : root:x:0:0:root:/root:/bin/bash
  ○ root : This is account name. this is necessary when you login
  ○ x : Not used. password is in /etc/shadow
  ○ UID : This is account number for identification
  ○ GID : This is group number for group identification
  ○ root : If the same as the account name = No special record
  ○ /bin/bash : The default shell is bash