On Mon, 2004-11-01 at 21:59, Rick Lim wrote:
>From what I can see the virtual machine NX aka No Machine uses ssh. I need to login as root to do maintenance remotely using the GUI, No Machine will not allow me to login as root.
Is there a work around for this keeping in mind that I need to login as root and use a GUI interface.
John Mellor suggested:
sshd has a "PermitRootLogin" flag in /etc/ssh/sshd_config to do just this. By default, it is set to "no". Change it to "yes" and send a SIGHUP to sshd to get it to re-read its config file and you should be all set.
p.s. Make sure you've got a really good root password, seeing as there are a lot of co-opted machines out there doing stupid ssh root/password and root/none attack attempts...
It would be a lot more secure to log in as a NON-root user, then 'su' to root.
Do not set "PermitRootLogin" to "yes" ("true").