
chtaylo2
New User
Nov 11, 2009, 10:39 AM
Post #1 of 3
(3628 views)
|
Using getgrent() on external Group File
|
Can't Post
|
|
Perl has built in group search functions such as getgrent(), getgrnam(), etc. 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. Thanks! Chris
|