LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-29-2013, 11:32 AM   #1
Grtyop
Member
 
Registered: May 2013
Location: Over the Rainbow..
Distribution: LinuxMint , RedHat
Posts: 31

Rep: Reputation: Disabled
Setting 'Password Inactive' field to 1 after setting maximum passwd age ?


I set a user, 'testus1' to have his password change every 100 days with a 12 days warning.

Code:
chage testus1 -M '100' -W '12'
I then entered chage testus1 to check if the changes are made.

There's this field called 'Password Inactive [-1]' . Do I have to change this to 1 for the changes to be active ?

From the man page, "Passing the number -1 as MAX_DAYS will remove checking a password's validity. " .

Not sure if the -1 in the 'Password Inactive [-1]' affects the changes made.
 
Old 05-30-2013, 07:49 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
That's for the -M switch and you used 100, so you should be fine.
Can you post
Code:
change -l testus
Lowercase L switch
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AIX 5.3: Password Field in /etc/passwd devUnix AIX 5 10-21-2010 06:07 PM
How to : Find Root Password Age Setting avklinux Solaris / OpenSolaris 2 12-12-2008 01:08 PM
setting maximum password age globally??? mlu Linux - Security 1 05-08-2005 06:38 AM
maximum password age in a user account mlu Linux - Security 2 04-28-2005 06:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration