Operating System - HP-UX
1833780 Members
2044 Online
110063 Solutions
New Discussion

restricted login by Group

 
goec
Occasional Contributor

restricted login by Group

Hi,

I'm using Hpunix 10.20 at HP9000 D280.now I expect to restrict the Telnet user connection number by user Group. For example, MIS Group Max user connection number is 5,Purchase Group Max user connection number is 8,Finance Group user connection number is 7??etc.
Would you please tell me how can I to do?

My email address: martinwei@163.net
Best regards,
Martin
3 REPLIES 3
Victor BERRIDGE
Honored Contributor

Re: restricted login by Group

I dont know of any other way than writing a script.
In .profile you call the script:
. /~/yourscriptvar (where you set all the variables you will need)
exec /~/yourscript (that does the testing of the conditions and exit
Rick Garland
Honored Contributor

Re: restricted login by Group

In the profiles (/etc/profile, $HOME/.profile) you can check the group membership with the grget command. Depending on the output, you can allow access or deny access based on the return from the grget command.
Vikas Khator
Honored Contributor

Re: restricted login by Group

Hi ,

Check out if logingroup would help you.

Regards,
Vikas
Keep it simple