
chown
Chown change the owner and group of a file.
chown USERID, GROUPID, FILE_LIST
If USERID or GROUPID is -1, then that means to leave it alone.
getpwent good for finding user id (uid)
getgrent good for finding group id (gid)
Copyright 2003, Bri Hatch of Onsight, Inc.
Presented at SPUG, 2003.
Presentation created using vim and MagicPoint.