/etc/login.defs created as /etc/login.defs.rpmnew

Cameron Simpson cs at zip.com.au
Wed Jan 6 06:40:08 UTC 2010


On 06Jan2010 00:24, Marcel Rieux <m.z.rieux at gmail.com> wrote:
| This message was issued while updating shadow-utils today. The weird thing is:
| 
| ls -l /etc/login.defs.rpmnew
| -rw-r--r--. 1 root root 1475 2009-11-18 08:51 /etc/login.defs.rpmnew
| 
| I did a research both on the fedoraproject and redhat sites and
| there's nothing about what to do with this warning.

This normally means that /etc/login.defs was not exactly as it was
originally installed.

Because you, the sysadmin, may have modified it instead of overriding
the login.defs file and destroying your changes, it writes the new
login.defs file to login.defs.rpmnew.

Now you should diff the two files and decide that to keep.  The best approach
is usually to identify your own change, make the same change in the .rpmnew
file, then mv the .rpmnew file into place.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

There is only one basic human right, the right to do as you damn well please.
And with it comes the only basic human duty, the duty to take the
consequences.   - P.J. O'Rourke speaking to the Cato Institute Washington DC,
                  May 6, 1993




More information about the fedora-list mailing list