1832348 Members
2075 Online
110041 Solutions
New Discussion

limit no. of login.

 
SOLVED
Go to solution
Cheung_2
Frequent Advisor

limit no. of login.

How to limit the no. of login to linux system?
Andy
5 REPLIES 5
Stuart Browne
Honored Contributor
Solution

Re: limit no. of login.

Limit how? Total number of useres? Number of logins a given user can have at a given instance?

Most of those sorts of restrictions should be able to be done with the Pluggable Authentication Modules (PAM).

See the documentation (/usr/share/doc/pam-*/) about how to use them.
One long-haired git at your service...
Cheung_2
Frequent Advisor

Re: limit no. of login.

hi Stuart Browne ,

i didn't find the file "usr/share/doc/pam" on my linux , can suggest how to see the document? thx.
Andy
Stuart Browne
Honored Contributor

Re: limit no. of login.

'rpm -qd pam' should show you (if you're using a RedHat system).

If not, then you'll need to tell us what you're using.
One long-haired git at your service...
Chakravarthi
Trusted Contributor

Re: limit no. of login.

Chakravarthi
Trusted Contributor

Re: limit no. of login.