Skip to content

Instantly share code, notes, and snippets.

@alivx
Created January 10, 2021 22:05
Show Gist options
  • Save alivx/7fdd0ee72f4dbe633822684de0363948 to your computer and use it in GitHub Desktop.
Save alivx/7fdd0ee72f4dbe633822684de0363948 to your computer and use it in GitHub Desktop.
Ubuntu passwd, Shadow, group and other files
The format of the/etc/shadow file is as follows:
Username:password:last_change:min_change:max_change:warm:failed_expire:expiration:reserved.
The contents of the/etc/passwd file are as follows:
Each line consists of a semicolon-delimited string of characters, in the following format:
Username:password:uid:gid:gecos:homedir:shell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment