Operating System - HP-UX
1832978 Members
2682 Online
110048 Solutions
New Discussion

limit group user login number

 
goec
Occasional Contributor

limit group user login number

Hi,
there are 70 users in my hpunix 10.20,every user was allowed 1 login only,now I expect to limit user login number by user group. for example there are 18 users in MIS Group,but I expect the Max login number of MIS Group is 7.

Would you please give me a detail answer?
Best regards,
2 REPLIES 2
Victor BERRIDGE
Honored Contributor

Re: limit group user login number

I gave you in a previous answer what to do and you gave no feed back... what was wrong with my answer ( I know it works because I did it once a long time ago on a 827...(no I havent kept the scripts))Of course we could rewrite them if you wish but not today nor tomorrow Im doing some installs at the moment.
Rick Garland
Honored Contributor

Re: limit group user login number

Do a count based on the number of users who have the group you are looking for using the grget command.