Linux Missive
Popular Posts
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.
300 Linux interview questions and answers
How to Interrupt GRUB and Override init process in Linux
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