Sometimes we may need to enable root access for the SSH User for troubleshooting and collecting the logs generated through SFTP. Here are the step by step method to enable the SSH and root permission access on the VMware identity manager.
Steps to be followed:
- Connect to the identity manager console and login using the user sshuser which was created during the deployment of VIDM.
- Once you have logged in over the console, Run the command su –, use the same password which was used to login for the sshuser.
- Now run the command vim /etc/ssh/sshd_config.
- Now move to the parameter PermitRootLogin and set to yes as mentioned below
Save the above file and then restart the sshd service using the command : /etc/init.d/sshd restart
Note : Root access is disabled by default for a security reasons, it is not recommended to enable the root account. Make sure to disable the account once the purpose is fulfilled.