LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 03-08-2005, 11:00 PM   #1
wardialer
Member
 
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
Capt_Caveman
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 mandrakesecure.net site, but it vanished (shame). Fortunately you can find the google cache here:

http://64.233.161.104/search?q=cache.../docs/msec.php
 
Old 03-09-2005, 08:37 AM   #3
wardialer
Member
 
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??
 
  


Reply



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

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

All times are GMT -5. The time now is 02:45 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