This is a discussion on Restricting Number of Logins within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello all, I want to restrict the number of concurrent logins for a particular userid. how can i achieve ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| <suhailh@yahoo.com> wrote in message news:bde918fd.0307212204.3b2dec2e@posting.google.c om... > Hello all, > > I want to restrict the number of concurrent logins for a particular userid. > > how can i achieve this? > > Thanks in advance. > > suhail Setup an additional primary authentication method on the relevant user account. You'll need to define the additional primary authentication method in /etc/security/login.cfg and create somekind of secure script or program to return 0 or 1 depending on how many concurrent logins you want. NB if you are accessing this account via some versions of ssh this won't work because ssh tends to use generic Unix authentication and thus ignores AIX authentication methods. AFAIK the latest version of OpenSSH works correctly. You could probably do something similar using PAM but I've never tried. RobH |
| |||
| this might help http://groups.google.com/groups?q=ma....aix+group:co- mp.unix.aix+group:comp.unix.aix&hl=en&lr=&ie=UTF-8&oe=UTF-8&group=comp.- unix.aix&scoring=d&selm=33315046.25C%40xs4all.nl&r num=7 or just search for "maxlogin" on comp.aix.unix Rgds Mark -- Posted via http://dbforums.com |
| ||||
| "Mark Taylor" <member20596@dbforums.com> wrote in message news:3137473.1058867883@dbforums.com... > > this might help > > http://groups.google.com/groups?q=ma....aix+group:co- > mp.unix.aix+group:comp.unix.aix&hl=en&lr=&ie=UTF-8&oe=UTF-8&group=comp.- > unix.aix&scoring=d&selm=33315046.25C%40xs4all.nl&r num=7 > > or just search for "maxlogin" on comp.aix.unix > Hi Mark, ever used http://tinyurl.com ? Are you in Basingstoke, UK by any chance? RobH |