LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-23-2006, 12:56 PM   #1
AndrewBS42
LQ Newbie
 
Registered: May 2006
Posts: 7

Rep: Reputation: 1
Question set password lifetime back to 'infinite'


We recently tried to implement a password lifetime of 45 days. The script I wrote worked well. Unfortunately, those passwords that were already more than 45 days old were instantly expired, and those users were caught un-prepared.

I was wondering if there was any way to undo the password lifetime changes, and make the passwords not expire any more.

'passwd -x 0', maybe?

Respectfully,

Andrew Sackett
AndrewBS42@hotmail.com
 
Old 05-24-2006, 08:59 AM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Hi, I think the file you want to edit is /etc/login.defs, look for "PASS_MAX_DAYS". hope this helps.
 
  


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
chroot jail - jumps back to password prompt The_JinJ Linux - Newbie 1 12-05-2005 10:14 AM
facing problem in increment operator of set :infinite LOOP ashwinipahuja Programming 0 06-03-2004 12:05 AM
was fedora release date set back ? qwijibow Linux - General 4 05-19-2004 01:18 AM
Plug and Play, my only set back, answer this for charity! Underworld Linux - Software 1 01-12-2004 06:55 PM
password lost, need to get back files moeminhtun General 10 01-09-2003 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:54 AM.

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