IBM AIX V7 Administrator — Question 1
Which action will temporarily disable remote login access using telnet and ssh for all non-root accounts?
Answer options
- A. Stop the sshd subsystem
- B. Set the PermitLogins parameter in /etc/ssh/sshd_config and recycle the sshd daemon
- C. Touch the /etc/sshd/nologin file and recycle the sshd daemon
- D. Update /etc/security/passwd and recycle the inetd subsystem
- E. Create an /etc/nologin file
Correct answer: E
Explanation
Creating an /etc/nologin file prevents non-root users from logging in remotely, as this file is checked by the login process. The other options either do not specifically disable access for all non-root accounts or involve steps that may not be effective in temporarily blocking remote login access.