[SunHELP] root passwd expired
Steve Sandau
ssandau at gwi.net
Tue Nov 29 19:15:12 CST 2005
So, 'sudo passwd root' will work within an ssh or telnet session with an
expired password? I thought I remembered that 'su -' failed. there's a
difference?
Steve
velociraptor wrote:
> This is a good reason to have sudo installed and configured--you can
> always execute "sudo passwd root" if you have the ability to do "su -"
> under sudo.
>
> sudo is a stock package in Sol 9 and above, so it's an easy failsafe.
>
> We've set up a cron job to email us 5 days before root password
> expiration, due to the expiration causing administrative cron jobs
> to stop running.
>
> =Nadine=
>
> On 11/29/05, Grindell, Joan M. <GrindellJ at sec.gov> wrote:
>
>>Thank you very much this worked for me. when I tried logging in from the
>>console including the password. An xterm window appeared and prompted me
>>for the new password.
>>
>>Joan
>>
>>-----Original Message-----
>>From: sunhelp-bounces at sunhelp.org [mailto:sunhelp-bounces at sunhelp.org] On
>>Behalf Of Steve Sandau
>>Sent: Tuesday, November 29, 2005 2:10 PM
>>To: The SunHELP List
>>Subject: Re: [SunHELP] root passwd expired
>>
>>
>>>This has never happened: is there anyway I can reset root's password with
>>>booting from a cdrom?
>>>
>>
>>I have been able to fix this with a console sesison. I believe that is
>>the only way you can log in with an expired root password. I suppose you
>>could boot from CD, mount your current root filesystem, and remove the
>>encrypted root password from /etc/shadow, but I have never tried that.
>>
>>Steve
More information about the SunHELP
mailing list