H
heylow
Hi Gurus:
I have a master file /etc/group, and another file contains logins
(say, master.login). I want to delete all users in /etc/group, who do
not exist in this master.login
master.login
-----------
abel
dan
cory
sia
/etc/group:
------
gr001:x:500:abel, x,y,z,sia
gr002:x:501:a,b, dan
gr003:x:610:cory, dan, x, a
I wanted to remove users (a, b, x, y, z) who do not exist in
master.login from the /etc/group, so that i can get clean group file.
Thanks for your help.
Pedro.
I have a master file /etc/group, and another file contains logins
(say, master.login). I want to delete all users in /etc/group, who do
not exist in this master.login
master.login
-----------
abel
dan
cory
sia
/etc/group:
------
gr001:x:500:abel, x,y,z,sia
gr002:x:501:a,b, dan
gr003:x:610:cory, dan, x, a
I wanted to remove users (a, b, x, y, z) who do not exist in
master.login from the /etc/group, so that i can get clean group file.
Thanks for your help.
Pedro.