max age password question | Unix Linux Forums | Red Hat

  Go Back    


Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

max age password question

Red Hat


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 12-10-2009
itik itik is offline
Registered User
 
Join Date: Oct 2007
Last Activity: 12 December 2013, 10:00 PM EST
Location: Toronto, Ontario
Posts: 383
Thanks: 0
Thanked 2 Times in 2 Posts
max age password question

Hi All,

I got a definition on /etc/login.defs

PASS_MAX_DAYS 41

and on /etc/shadow, most of the user id fifth column (max age) is 40.

Is that different policy or not? If it is the same policy, then the above policy don't match, right.

Thanks for any comment you may add.

Cheers, happy holiday.
Sponsored Links
    #2  
Old 12-11-2009
frank_rizzo frank_rizzo is offline Forum Advisor  
Resident BOFH
 
Join Date: Dec 2007
Last Activity: 17 April 2014, 9:38 PM EDT
Posts: 1,136
Thanks: 2
Thanked 88 Times in 85 Posts
/etc/login.defs will be used for defaults when a user is created. /etc/shadow is actual values for each user.
Sponsored Links
    #3  
Old 12-11-2009
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
who?
 
Join Date: Dec 2003
Last Activity: 30 July 2014, 5:10 AM EDT
Location: /dev/ph
Posts: 4,773
Thanks: 59
Thanked 423 Times in 392 Posts
If you create a new user, that user should get a max password age of 41 days. So, yes there is a one day difference.
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
how to change root password using shell script with standard password kurva Shell Programming and Scripting 2 02-25-2009 01:35 AM
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
Question about ssh without password rainbow_bean AIX 2 12-03-2007 04:49 PM
question pn Password!! vangalli Shell Programming and Scripting 3 09-27-2006 04:02 AM
Change password by pushing encrypted password to systems benq70 UNIX for Dummies Questions & Answers 1 09-02-2005 09:08 AM



All times are GMT -4. The time now is 07:15 PM.