Solaris user changing password | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Solaris user changing password

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 05-20-2009
ajitkraj ajitkraj is offline
Registered User
 
Join Date: May 2009
Last Activity: 21 May 2009, 6:44 AM EDT
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Solaris user changing password

i created 1 user . Now its passwd time period get expired.

Now how can I set password for that user. Also how can I set a condition such a way that after every 3 months user must change his passwd.
Sponsored Links
    #2  
Old 05-20-2009
kumarmani kumarmani is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 22 December 2011, 4:37 AM EST
Posts: 416
Thanks: 0
Thanked 3 Times in 3 Posts
You can define system wide password policy in file called
Quote:
/etc/default/paaswd
to field called MINWEEKS. Being a root user you can change the password for any user with passwd <username>, you can unlock the account of individual user by editing the /etc/shadow in the second column you can see LK, you can keep that filed blank.
Sponsored Links
    #3  
Old 05-20-2009
incredible incredible is offline Forum Advisor  
Registered User
 
Join Date: May 2008
Last Activity: 1 June 2012, 4:25 AM EDT
Location: SINGAPORE.. The "FINE" City
Posts: 2,693
Thanks: 1
Thanked 19 Times in 19 Posts
You can re-set the password with
#passwd <username>
as root
    #4  
Old 05-21-2009
laxmikant laxmikant is offline
Registered User
 
Join Date: Oct 2008
Last Activity: 26 August 2013, 2:15 AM EDT
Posts: 35
Thanks: 1
Thanked 1 Time in 1 Post
set password aging, set warning days before password expires so that user can change the password..
see man passwd
Sponsored Links
    #5  
Old 05-21-2009
sunray sunray is offline
Registered User
 
Join Date: May 2009
Last Activity: 22 May 2012, 7:51 AM EDT
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
how to set warning date?
Sponsored Links
    #6  
Old 05-21-2009
kumarmani kumarmani is offline
Registered User
 
Join Date: Sep 2008
Last Activity: 22 December 2011, 4:37 AM EST
Posts: 416
Thanks: 0
Thanked 3 Times in 3 Posts
While assigning the password with passwd you can user option -w to set the waring date
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem while changing the password in solaris 10 daya.pandit Solaris 31 08-12-2009 01:45 AM
Problem changing user password bbbngowc Linux 6 04-24-2009 01:28 PM
password verification verify password of a user for only first 8 characters amitpansuria UNIX for Advanced & Expert Users 12 10-23-2008 10:03 AM
changing unix user password using script mani_um AIX 5 09-04-2007 11:33 PM
changing user password mayge AIX 0 07-12-2006 11:08 AM



All times are GMT -4. The time now is 01:55 AM.