ShadowEntry

An entry in /etc/passwd

Members

Functions

toString
string toString()

Converts this entry back to a /etc/shadow formatted entry

Static functions

parseEntry
ShadowEntry parseEntry(string entry)

Parses an entry in the shadow file

Variables

expires
uint expires;

The user's expiration date

inactive
uint inactive;

The number of days that the account will be disabled after expiration

lastChanged
uint lastChanged;

Days since UNIX epoch that the password was last changed

maximum
uint maximum;

Maximum number of days required between password changes

minimum
uint minimum;

Minumum number of days required between password changes

password
string password;

The user's password

reserved
string reserved;

Reserved spot for future use

username
string username;

The user's username

warn
uint warn;

Number of days before password is expiring that the user is warned

Meta