Unix/Linux 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 Linux or Unix Question    
Thread Tools Search this Thread Display Modes
Old Unix and Linux 12-11-2009
itik itik is offline
Registered User
Join Date: Oct 2007
Last Activity: 8 July 2015, 10:59 PM EDT
Location: Toronto, Ontario
Posts: 384
Thanks: 0
Thanked 2 Times in 2 Posts
max age password question

Hi All,

I got a definition on /etc/login.defs


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
Old Unix and Linux 12-11-2009
frank_rizzo frank_rizzo is offline Forum Advisor  
Resident BOFH
Join Date: Dec 2007
Last Activity: 6 October 2015, 9:24 PM EDT
Posts: 1,146
Thanks: 3
Thanked 90 Times in 87 Posts
/etc/login.defs will be used for defaults when a user is created. /etc/shadow is actual values for each user.
Sponsored Links
Old Unix and Linux 12-11-2009
fpmurphy's Unix or Linux Image
fpmurphy fpmurphy is offline Forum Staff  
Join Date: Dec 2003
Last Activity: 27 November 2015, 8:14 PM EST
Location: /dev/ph
Posts: 4,971
Thanks: 70
Thanked 473 Times in 436 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 Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 02:35 AM
password verification verify password of a user for only first 8 characters amitpansuria UNIX for Advanced & Expert Users 12 10-23-2008 11:03 AM
Question about ssh without password rainbow_bean AIX 2 12-03-2007 05:49 PM
question pn Password!! vangalli Shell Programming and Scripting 3 09-27-2006 05:02 AM
Change password by pushing encrypted password to systems benq70 UNIX for Dummies Questions & Answers 1 09-02-2005 10:08 AM

All times are GMT -4. The time now is 10:16 PM.