NAME

unix::passwd — Get password entry fields.

synopsis

wyrm::unix::passwd [ -all | user-id | user-name ]

description

Get the password entry fields of the specified user or the current user id; they are returned as a key-value pairs list. The entries can include

username
The user name.
password
The password. (Set to '*' for shadow passwords.)
uid
The user id.
gid
The main group id.
comments
Comments (gecos) field.
home
Home directory.
shell
Log in shell.

If -all is specified, all password entries are returned as a key-value list of lists, the key being the user name and the value is the list of entries for that user.