Re: How to log in as root w/o password?
- From: comphelp@xxxxxxxxx (Todd H.)
- Date: 24 Aug 2006 16:17:18 -0500
CptDondo <yan@xxxxxxxxxxxxxxxx> writes:
My basic setup denies root logins altogether.
But... From one single PC, as one single user, I would like to be able
to log in automagically without a password (actually via a script).
Is there a way to set up authkeys to allow this?
I've tried a few times, but it seems the "no root login" thing
overrides public key authentication.
What user are you trying to login as with public key?
If root, well yeah, no root login would override it.
If it's a std user you're trying to auth as, the no root login setting
does not prohibit that.
If you need to login w/o password and do root things, I'd suggest a
combination of public key auth using a non-root account, and sudo on
the target box (configured to allow that user to do only very specific
commands as root, and to do so without prompting for a password).
--
Todd H.
http://www.toddh.net/
.
- References:
- How to log in as root w/o password?
- From: CptDondo
- How to log in as root w/o password?
- Prev by Date: Re: X11 forwarding--with a wrinkle
- Next by Date: Re: How to log in as root w/o password?
- Previous by thread: How to log in as root w/o password?
- Next by thread: Re: How to log in as root w/o password?
- Index(es):