Geoffrey wrote:
Brian Wheeler wrote:
On Fri, 2010-02-26 at 16:45 -0600, Keith Bailey wrote:
I've been setting up ssh key authentication for our development server
and managed to configure a normal linux user account to work with two
client machines in the office.

For enhanced security I locked the normal account with "passwd -l
user" so I could only access the account with ssh key authentication.
But I also unwittingly did the same for root.

Now I'm unable to access the root user and can only access the normal
user through ssh key authentication.

Is there a solution for this without a total re-install?

One way to do it is to boot the rescue cd and chroot to your install.
Once you're there you can run passwd to fix your file.

Don't need to do that, boot rescue, edit /etc/passwd.

Clarification. boot rescue, mount filesystem, delete root password from /etc/passwd, reboot, set root password.

--
Until later, Geoffrey

"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to