Re: How to log in as root w/o password?
- From: Unruh <unruh-spam@xxxxxxxxxxxxxx>
- Date: 25 Aug 2006 04:45:27 GMT
CptDondo <yan@xxxxxxxxxxxxxxxx> writes:
My basic setup denies root logins altogether.
Which is stupid. Sometimes root is needed. (and sudo is not a substitute).
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).
Use ssh with publick key authentication.
Is there a way to set up authkeys to allow this?
Auth keys?
I've tried a few times, but it seems the "no root login" thing overrides
public key authentication.
It may be. So get rid of the "no root login" or do a two step process--
public key to a user account, and then that user account uses has
passwordless login to root ( eg in wheel group with pam.d/su having the
line
auth sufficient pam_wheel.so trust use_uid
)
--Yan.
- Follow-Ups:
- Re: How to log in as root w/o password?
- From: Michael Heiming
- Re: How to log in as root w/o password?
- 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: How to log in as root w/o password?
- Next by Date: Re: scp in non-interactive sessions problem?
- Previous by thread: Re: How to log in as root w/o password?
- Next by thread: Re: How to log in as root w/o password?
- Index(es):
Relevant Pages
|
|