LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Limit the number of logins for a user to only one. (https://www.linuxquestions.org/questions/linux-server-73/limit-the-number-of-logins-for-a-user-to-only-one-878588/)

llaulainen 05-03-2011 11:44 AM

Limit the number of logins for a user to only one.
 
I ran into a user today that indicated that their company only allows them to log in through a terminal session once (no multiple logins). On second try their login window terminates. They are using putty.

Is this being accomplished through PAM or sshd ( or some other method)?

Len

T3RM1NVT0R 05-03-2011 12:31 PM

@ Reply
 
Have a look at /etc/security/limits.conf

This file is used to restrict maximum concurrent logins that is allowed to a user.


All times are GMT -5. The time now is 05:15 AM.