Skip to content

Instantly share code, notes, and snippets.

@lestrrat
Created July 2, 2014 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lestrrat/433e885b4d8707256afc to your computer and use it in GitHub Desktop.
Save lestrrat/433e885b4d8707256afc to your computer and use it in GitHub Desktop.
pwd.h
struct passwd {
char *pw_name; /* user name */
char *pw_passwd; /* encrypted password */
uid_t pw_uid; /* user uid */
gid_t pw_gid; /* user gid */
__darwin_time_t pw_change; /* password change time */
char *pw_class; /* user access class */
char *pw_gecos; /* Honeywell login info */
char *pw_dir; /* home directory */
char *pw_shell; /* default shell */
__darwin_time_t pw_expire; /* account expiration */
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment