Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 03-08-2005, 11:00 PM   #1
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Rep: Reputation: 30
/etc/ Login.defs will not save my settings???

Recently I had saved the MAX_PASS_AGING to=60 days in the /etc/login.defs and and saved it and now, I noticed it comes back to 999999. Why is it doing this. I must have a weird or corrupted version of distro. I did this under 'root' by su command.
Old 03-08-2005, 11:07 PM   #2
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Probably msec. Mandrake has a utility (called msec) that monitors system files for alteration. Upon detecting an alteration it reverts it to the old config. You can either reduce the msec security setting (not such a great idea) or write an msec override. There used to be a good tutorial on doing this at the site, but it vanished (shame). Fortunately you can find the google cache here:
Old 03-09-2005, 08:37 AM   #3
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Original Poster
Rep: Reputation: 30
So how can I set the max password age to 60 without msec changing it back to default 9999??


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
umask & /etc/login.defs gepesz Linux - Software 2 09-04-2011 03:02 AM
Startup script=/etc/login.defs? ~zoey~ Linux - Newbie 2 11-12-2004 11:44 PM
How do I save my settings? laverscheval DamnSmallLinux 2 10-08-2004 08:44 PM
How do I make SSH use the MAIL variable set by /etc/login.defs? RyanA Linux - Software 1 08-15-2003 11:03 AM
DMA settings won't save willywonka Slackware 4 04-12-2003 07:38 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:08 PM.

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