Quoting Benjamin White <[EMAIL PROTECTED]>: > How can a user be restricted to only one login at a time? >
How's this look? May 18 15:45:17 sosaatm sshd[1101]: Accepted publickey for sysadmin from ::ffff:10.11.2.55 port 1543 ssh2 May 18 15:45:33 sosaatm sshd[1123]: Accepted publickey for sysadmin from ::ffff:10.11.2.55 port 1544 ssh2 May 18 15:45:33 sosaatm pam_limits[1125]: Too many logins (max 1) for sysadmin May 18 15:45:33 sosaatm login[1125]: Permission denied This is on SLES9. What I had to do to set it up is verify that... session required pam_limits.so ..was in /etc/pam.d/sshd. Then I changed /etc/security/limits.conf to include: sysadmin hard maxlogins 1 And finally I changed /etc/ssh/sshd_config to include: UseLogin yes Leland ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390