Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## limit login 2 SSH (openssh only)##
- echo "@limit - nproc 2" >> /etc/security/limits.conf
- groupadd limit
- useradd -m -s /bin/false -g limit namauser
- passwd namauser
- service sshd restart
- ########
- ## visit : http://retnet-nganjuk.blogspot.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement