Fetching user and group info in perl

by kalai 2008-11-22 20:43:19


* endgrent - be done using group file
* endhostent - be done using hosts file
* endnetent - be done using networks file
* endpwent - be done using passwd file
* getgrent - get next group record
* getgrgid - get group record given group user ID
* getgrnam - get group record given group name
* getlogin - return who logged in at this tty
* getpwent - get next passwd record
* getpwnam - get passwd record given user login name
* getpwuid - get passwd record given user ID
* setgrent - prepare group file for use
* setpwent - prepare passwd file for use

Tagged in:

1113
like
0
dislike
0
mail
flag

You must LOGIN to add comments