Your organization is implementing a policy to disable root login via SSH. Which configuration file and parameter should you modify?
- /etc/ssh/sshd_config, PermitRootLogin
- /etc/ssh/sshd_config, AllowRoot
- /etc/ssh/ssh_config, DenyRoot
- /etc/ssh/ssh_config, RootLogin
To disable root login via SSH, you should modify the /etc/ssh/sshd_config file and set the PermitRootLogin parameter to no. This enhances security by preventing direct root logins, encouraging users to log in as a regular user and then use sudo for administrative tasks.
Loading...
Related Quiz
- Which technology allows for OS-level virtualization, resulting in multiple isolated user-space instances?
- You've been tasked to lockdown a specific application on an Ubuntu server. You decide to use a tool that restricts programs to a limited set of resources. Which tool would you primarily utilize?
- To disable the debugging mode that was enabled with set -x, you can use the command __________.
- In Linux, the _________ command is used to change a user's password.
- Which of the following is a valid way to declare a variable in Bash?