Operating System - HP-UX
1833823 Members
2461 Online
110063 Solutions
New Discussion

Re: limit Telnet user login by user group

 
goec
Occasional Contributor

limit Telnet user login by user group

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 give me a detail answer?
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor

Re: limit Telnet user login by user group

Hi:

If I understand this post correctly, Rick Garland, and some others, have provided some solutions in some earlier threads. See:

http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x3f4c68c57f64d4118fee0090279cd0f9,00.html

...JRF...
Anthony Goonetilleke
Esteemed Contributor

Re: limit Telnet user login by user group

Yes you could probably do it but calling a script from /etc/profile
You could store a log file somewhere and update it every time a user logs in so it will have a running tally and then if the limits have been exceeded you can log them straight out depending on the group. Let me know if your having trouble with it I could probably write it out but right at the moment I'm a bit lazy :-)
Minimum effort maximum output!