search for: grline

Displaying 2 results from an estimated 2 matches for "grline".

Did you mean: gline
2000 Feb 23
0
Fwd: RE: Group logon Scripts
...different settings for each. What about user C who belongs to both > groups 1 and 2 and needs both groups' settings? > > My take on it: > You could set up an array of all the groups that a user belongs to > like this: > > $username=$ARGV[0]; > setgrent(); > while (@grline=getgrent()) { > (@users)=split(' ',$grline[3]); > if (grep(/^$username$/,@users)) { > push(@groups,$grline[0]); > } > } > # Uncomment to debug > #print "$username belongs to:n"; > #foreach $group (@groups) { > #...
2000 Jan 07
3
Group logon Scripts
We're almost at the stage of rolling out our new RH6.1/Samba server - one last item. We have some 60 users and 7 departments. Can I use/how do I use a logon script to log groups onto the server. I currently have 1 logon script per user, but a small change in 1 share means updating every script. Can I log them on by group ID but still map their personal shares with the %U flag so I then