Show user's details (LINUX)

The /etc/passwd file stores the information about the user's login, encrypted password, UID, default GID, name, home directory, login shell.

vi /etc/passwd

The each line in the passwd represents information about users :

  • Username
  • Password ( contains the encrypted password)
  • User-ID (access privileges)
  • Group-ID (user's primary group)
  • Home directory
  • Shell

No comments:

Recent Posts