July 2002
Beginner to intermediate
96 pages
1h 53m
English
In list context, each of these routines returns a list of values. Use the standard module User::pwent for by-name access to the elements of the list:
Index | Name | Description |
|---|---|---|
0 | name | User name |
1 | passwd | Password info |
2 | uid | Id of this user |
3 | gid | Group id of this user |
4 | quota | Quota information |
5 | comment | Comments |
6 | gecos | Full name |
7 | dir | Home directory |
8 | shell | Login shell |
9 | expire | Password expiration info |
Ends lookup processing.
Gets next user information. In scalar context, returns the username.
Gets information by name. In scalar context, returns the user id.
Gets information by user id. In scalar context, returns the username.
Resets lookup processing.
Read now
Unlock full access