Recent Changes - Search:

Research


edit SideBar


LinuxPasswd

A non-shadowed /etc/passwd file has the following format:

username:passwd:UID:GID:full_name:directory:shell

Where:

  • username The user (login) name
  • passwd The encoded password
  • UID Numerical user ID
  • GID Numerical default group ID
  • full_name

The user's full name - Actually this field is called the GECOS (General Electric Comprehensive Operating System) field and can store information other than just the full name. The Shadow commands and manual pages refer to this field as the comment field.

  • directory

User's home directory (Full pathname)

  • shell

User's login shell (Full Pathname)

Example: username:Npge08pfz4wuk:503:100:Full Name:/home/username:/bin/sh

Edit - History - Print - Recent Changes - Search
Page last modified on May 31, 2005, at 11:14 PM EST