Nov 11, 2009, 10:39 AM
Post #1 of 3
Perl has built in group search functions such as getgrent(), getgrnam(), etc.
Using getgrent() on external Group File
When using them, they look at the /etc/group file on your unix box. Is there a way to specify a different file these functions look at?
Background: I'm creating a system which pulls in the group file modifies it and pushes out a new one. The issue is, /etc/group is not actual file it modifies, however it is in all the same format.