[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Allowing default root SSH login
- Subject: Re: [cobalt-users] Allowing default root SSH login
- From: Jay Summers <jay@xxxxxxxxxxxxxxxxxxxxx>
- Date: Fri Apr 11 08:21:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Friday, April 11, 2003, at 09:44 AM, Pizza Box manager wrote:
We are currently installing our existing sites on a RAQ550r, thanks to
those who helped about the migration / CMU question.
My problem now is that the Cobalt with this host provider does not
seem to allow login as root directly.
The best thing is the provider just told us that have no clue about
how this works and how to enable login as root on SSH.
Edit the /etc/sshd_config file, look for where it says PermitRootLogin
no and change it to PermitRootLogin yes. I believe you'll have to
restart the sshd daemon for that to take effect.
I know it's advised to login as admin and su to root - (do not really
know why though as we always do so in SSH and other providers we have
let us use a root login by default), but I need a direct root login in
SSH for tools like RSync apparently ?
I don't. I set up a cron to run as root and login to another machine as
admin. That way when it does it's rsync thing, it has root privileges
to sync everything.
Does anybody know how to either enable root login in SSH on a Cobalt
550, or how to login as admin as SU to root in the RSync command line > ?
I don't have a 550 so the sshd_config might be in a different location.
Else I guess we could RSync from the target to the source instead of
the usual procedure - launch from source and SSH to target as root ?
Correct. That's the way I mentioned that I do it above.
HTH,
j