OpenSSH Help
Matthew S. Krawitz
yellowdog-general@lists.terrasoftsolutions.com
Fri Aug 30 22:42:00 2002
why don't you login as a non-priv user and su up? Or better yet, use
sudo.
Using sudo to run a command as root is a great thing! Simply type:
sudo <command you'd like to run as root with all arguments>
sudo prompts you for your root passwd, and executes the command
indicated as root.
Logging in as root from the command prompt is a really bad idea (IMHO).
- matthewk
On Friday, August 30, 2002, at 09:33 PM, bronto wrote:
> Quick question (I hope) about using OpenSSH.
>
> I am going to move my server to a co location site and am preparing to
> do all administration remotely. Certain things need to be done as
> root, so I am verifying that I can log in to sshd as root. Yes, I
> know this is dangerous; my plan is to disable root login until I need
> it, enable it, do the work, then disable it again.
>
> In my config file, I have PermitRootLogin as "yes", yet I still cannot
> log in as root. I can log in easily using any other username. When I
> attempt to log in, my client reports "Login incorrect", yet I'm sure
> I've got the password correct. I have restarted OpenSSH after
> changing PermitRootLogin.
>
> Ideas?
>
> TIA
>
> Rob
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
>
- matthewk (MSK2)