Skip to content

Commit

Permalink
Replaced ypcat with getent.
Browse files Browse the repository at this point in the history
  • Loading branch information
markito3 committed Dec 4, 2021
1 parent 39397d9 commit 64fa05e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/users_create/group_parse.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
$groupid = 267;
open (YPCAT,"ypcat group |");
open (YPCAT,"getent group |");
$group_count = 0;
while (<YPCAT>) {
if (/:$groupid:/) {
Expand Down

0 comments on commit 64fa05e

Please sign in to comment.