Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Solaris 9 - Root Password Expired - Can't SU to root.

1,121 views
Skip to first unread message

Michelle

unread,
Jun 4, 2007, 9:07:06 AM6/4/07
to
This drives me crazy... I can't believe a sun box ends up in this
situation by default.

This is the second time I encountered this problem, where the root
password expires, and you can't SU to root to change it:

> su -
Password:
Password for user 'root' has expired - use passwd(1) to update it
>

Both situations on Solaris 9. Anyone know how I can change it without
rebooting the server?

Thanks!

Tim Bradshaw

unread,
Jun 4, 2007, 9:59:08 AM6/4/07
to
On Jun 4, 2:07 pm, Michelle <newsgrps_rem0ve_t...@mst.ca> wrote:
> This drives me crazy... I can't believe a sun box ends up in this
> situation by default.

They don't. Someone has changed something to make root passwds
expire. I'd find them and kill them if I were you.

Rich Teer

unread,
Jun 4, 2007, 12:51:01 PM6/4/07
to
On Mon, 4 Jun 2007, Michelle wrote:

> This drives me crazy... I can't believe a sun box ends up in this situation by
> default.

Umm, Solaris DOESN'T do this by default. Find the person who did do this,
and give them a good LART with a clue bat.

--
Rich Teer, SCSA, SCNA, SCSECA, OGB member

CEO,
My Online Home Inventory

Voice: +1 (250) 979-1638
URLs: http://www.rite-group.com/rich
http://www.myonlinehomeinventory.com

Message has been deleted

Franco

unread,
Jun 5, 2007, 8:06:40 AM6/5/07
to
On Jun 4, 2:07 pm, Michelle <newsgrps_rem0ve_t...@mst.ca> wrote:

Check /etc/default/passwd file /etc/security/policy.conf file.

Not sure if those settings apply to root though.

barv...@hotmail.co.uk

unread,
Jun 5, 2007, 9:00:03 AM6/5/07
to

Have you tried logging in as root directly on a local console rather
than using su?

dimpy.t...@gmail.com

unread,
Jan 2, 2019, 1:32:58 AM1/2/19
to
yes..i have same problem and i tried direct root login. it worked.. thank you so much for saving me from big storm.
Thank you


diam...@gmail.com

unread,
Jan 2, 2019, 4:48:39 AM1/2/19
to
On Monday, June 4, 2007 at 8:07:06 AM UTC-5, Michelle wrote:
> This drives me crazy... I can't believe a sun box ends up in this
> situation by default.

It doesn't, someone *there* did something stupid.

ali...@wgu.edu

unread,
Jan 2, 2019, 5:44:53 AM1/2/19
to
On Monday, June 4, 2007 at 8:07:06 AM UTC-5, Michelle wrote:
I was having this issue on one of our servers where I work.

Logged out of the user account I was logged into, tried logging into console with root account (as others have suggested). The system informed me password was expired. A box popped up in the top left, which allowed me to update the password at this point. After I updated the password, it kicked me back out. However, once I logged back in with my user account, I was able to access su root using the newly updated password.

danix

unread,
Jan 5, 2019, 9:25:02 AM1/5/19
to
Just use sudo su -
and then change passwd with passwd root

:P:D

da...@post.com

danix

unread,
Jan 5, 2019, 9:26:20 AM1/5/19
to

YTC#1

unread,
Jan 5, 2019, 12:36:49 PM1/5/19
to
Presuming hit is set up
>



--
Bruce Porter
"The internet is a huge and diverse community but mainly friendly"
http://ytc1.blogspot.co.uk/
There *is* an alternative! http://www.openoffice.org/
0 new messages