Linux Missive
Popular Posts
Build RPM From Scratch in RHEL 9
ansible-playbook fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable to start service nginx: Job for nginx.service failed because the control process exited with error code.
SecuGen Hamster Pro 20 with Ubuntu 14.04
Search This Blog
Friday 25 April 2014
Limit number of simultaneous logins attempts for a user
To limit the max number of logins to 2 for user vivek
vi /etc/security/limits.conf
vivek hard maxlogins 2
ref:http://nixcraft.com/centos-rhel-fedora/13764-ssh-limit-number-simultaneous-logins-attempts-each-user.html
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment