Linux Missive
Popular Posts
Reset Mysql root Password Ubuntu 22.04
Install Docker Container using Ansible YAML File on Ubuntu 22.04
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.
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