Prohibit remote root login on aix

Source: Internet
Author: User

Aix prohibits root users from remotely logging on to aix. The extended information is mostly in the/etc/security/user text file. You can modify: login = false users cannot log on to the system rlogin = false users cannot log on from the remote system su = false other users cannot switch to this user if they have special needs, simply use smitty lockuser to lock the specified User and disable telnet to log on to smit chuser-> root-> User can login REMOTELY (rsh, tn, rlogin) = false disable ssh logon to vi/etc/ssh/sshd_configPermitRootLogin no restart the ssh service stopsrc-s sshdstartsrc-s sshd. If the root user is not allowed to log on directly, you can log on with another user and then su to the root user. Another problem is that I have encountered a user named test who mistakenly entered the password multiple times and thus failed to log on. This allows me to log on locally and then identify the number of Logon errors. Chuser unsuccessful_login_count = 0 test

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.