Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

root pass never expire

Status
Not open for further replies.

Kems

Programmer
Nov 3, 2003
10
FR
Hi,

The root password expires on my Solaris 8 server and i donét whant it. I try to empty values on /etc/shadow but
after reboot, they are still there.

I've read the man pages of passwd and shadow (maybe too
fast) but i didn't read anything about that (Is there is a vipw / master.passwd on solaris?)

If you have time to answer me :)

Kems
(Really)Noob Solaris Admin.

 
Have you tried using admintool and clearing the Min Change and Max Change fields? Are you using NIS or NIS+?
 
Did you try as follows?

Edit the /etc/shadow like this
vi /etc/shadow
root:S@#F!T!@$:12331::98:30:::
change to
root:S@#F!T!@$:12331::::::

That means the root account only has the last change field in the record. No expiry date checking.


tikual
 
Try this...
Code:
    passwd -x -1 root
Logged on as root of course. That should do it.

Hope this helps.

 
I don't think i'm using Nis, but how to be sure (the server
has no ethernet connection).

I've ever edit the /etc/shadow to empty values without result, i mean after reboot, values are still there.

Thanks for help.
Kems
 
'passwd -x -1 root' was the solutions. Thanks a lot.

Kems, Noob On Solaris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top