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 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=
11/29/05, Grindell, Joan M. <GrindellJ (AT) sec (DOT) govwrote:
>>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
>>
>Message
>>From: sunhelp-bounces (AT) sunhelp (DOT) org [mailto:sunhelp-bounces (AT) sunhelp (DOT) org]
>>Behalf 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
SunHELP maillist - SunHELP (AT) sunhelp (DOT) org