Never Expired for root 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.

Never Expired for root password

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 03-05-2013
top.level top.level is offline
Registered User
 
Join Date: Dec 2012
Last Activity: 26 March 2014, 7:49 AM EDT
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Never Expired for root password

Never expired for root password

Guy's

I want to change the setting to keep the root password to be nerved expired!

Please advice with the sitting!
Sponsored Links
    #2  
Old 03-05-2013
Vikram_Tanwar12 Vikram_Tanwar12 is offline
Registered User
 
Join Date: Nov 2012
Last Activity: 21 November 2013, 3:32 AM EST
Posts: 168
Thanks: 13
Thanked 10 Times in 10 Posts
May be this can help you

Linux turn OFF password expiration / aging
Sponsored Links
    #3  
Old 03-05-2013
DustinT DustinT is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 11 July 2014, 1:45 PM EDT
Posts: 170
Thanks: 27
Thanked 19 Times in 19 Posts
login as root and

Quote:
#passwd -x -1 root
---------- Post updated at 06:59 AM ---------- Previous update was at 06:58 AM ----------

chage won't be installed in Solaris, but that would work on another operating system, I suppose.
    #4  
Old 03-05-2013
Vikram_Tanwar12 Vikram_Tanwar12 is offline
Registered User
 
Join Date: Nov 2012
Last Activity: 21 November 2013, 3:32 AM EST
Posts: 168
Thanks: 13
Thanked 10 Times in 10 Posts
I guess chage works only in Linux.
Sponsored Links
    #5  
Old 03-05-2013
DustinT DustinT is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 11 July 2014, 1:45 PM EDT
Posts: 170
Thanks: 27
Thanked 19 Times in 19 Posts
Quote:
Originally Posted by Vikram_Tanwar12 View Post
I guess chage works only in Linux.
Yup, but the command I listed will allow the same function. If you wanted to display the aging policy for all users you would use the following command. This will also display the last time the user changed their password, whether an account is locked (LK) or ready to login (PS). It's great for auditing purposes.


Code:
# passwd -as

Sponsored Links
    #6  
Old 03-05-2013
Vikram_Tanwar12 Vikram_Tanwar12 is offline
Registered User
 
Join Date: Nov 2012
Last Activity: 21 November 2013, 3:32 AM EST
Posts: 168
Thanks: 13
Thanked 10 Times in 10 Posts
Yup. The Command which you have written will work on different version.
Sponsored Links
    #7  
Old 03-05-2013
rbatte1 rbatte1 is offline Forum Staff  
Moderator
 
Join Date: Jun 2007
Last Activity: 24 October 2014, 3:13 PM EDT
Location: Lancashire, UK
Posts: 1,869
Thanks: 599
Thanked 322 Times in 290 Posts
One wonders why you would want the root account to never need changing. This is a security risk. You should have a regular procedure to change the root password and keep it secure. If someone managed to get your encrypted password file, then a brute force attack could eventually crack the root password and then they would have full control, including locking you out.


Robin
Liverpool/Blackburn
UK
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
Solaris 8 - Asks for current root password when trying to change root password. tferrazz Solaris 8 04-07-2009 02:28 PM
password expired ammu UNIX for Advanced & Expert Users 2 06-02-2007 09:15 AM
root pwd expired rajan_ka1 UNIX for Advanced & Expert Users 3 06-07-2006 03:26 AM
expired root password csaunders Solaris 1 10-18-2005 06:48 PM
Root account is expired mallesh UNIX for Advanced & Expert Users 2 06-22-2005 10:46 AM



All times are GMT -4. The time now is 07:11 AM.