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

Thread Tools Search this Thread Display Modes
Old Unix and Linux 12-11-2009   -   Original Discussion by itik
itik's Unix or Linux Image
itik itik is offline
Registered User
Join Date: Oct 2007
Last Activity: 2 November 2017, 10:52 AM 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   -   Original Discussion by itik
frank_rizzo's Unix or Linux Image
frank_rizzo frank_rizzo is offline Forum Advisor  
Resident BOFH
Join Date: Dec 2007
Last Activity: 28 July 2016, 2:18 PM EDT
Posts: 1,152
Thanks: 4
Thanked 92 Times in 89 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   -   Original Discussion by itik
fpmurphy's Unix or Linux Image
fpmurphy fpmurphy is offline
Registered User
Join Date: Dec 2003
Last Activity: 12 June 2016, 11:03 PM EDT
Location: /dev/ph
Posts: 4,996
Thanks: 73
Thanked 475 Times in 437 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

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 06:29 PM.