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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Root password for Solaris 9

Status
Not open for further replies.

fbabadi

MIS
Joined
Feb 27, 2006
Messages
1
Location
CA
Hi,

I am new to Solaris, and I have some questions that I need your help ( please):

1) How do you setup the root password to expire? I tried to use the admintool but it does not allow root password change
any advise on how to that and the also the warning period?

2) What should be the right behaviour of the system when the root user password has expired, should it allow you to login? or not? I have seen on a system that with an expired password the user is able to login is this correct ? the user was given no warning.
 
You can change the expiration in /etc/default/passwd.

The user shouldn't have been able to login with an expired passwd.
 
See the [tt]man[/tt] page for [tt]passwd[/tt].

The following will set someone's password to expire every 30 days...
Code:
passwd -x 30 username
The following will set someone's password to expire every 60 days and warn them 3 days before it does expire...
Code:
passwd -x 60 -w 3 username
The following will turn password expiration off for a user...
Code:
passwd -x -1 username
Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top