[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: HOWTO recover a lost root password (WHILE logged in)??



jdow wrote:
From: "Rick Johnson" <rjohnson medata com>
jdow wrote:
I'm curious, Robert, how does one "su" to root without the root
password?
I'll take a stab at this one.

Inside /etc/pam.d/su:
<snip>
auth sufficient /lib/security/pam_wheel.so trust use_ui

Only works if the user is either logged in as "root" already or the permissions on /etc/pam.d/su are all screwed up.

The above was only intended to answer that specific question, not to address the thread itself.


-Rick
--
Rick Johnson, RHCE - rjohnson medata com
Linux/WAN Administrator - Medata, Inc. (from home)
PGP Key: https://mail.medata.com/pgp/rjohnson.asc






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]