Once upon a time, Marko Vojinovic <vvmarko@xxxxxxxxx> said: > On Thursday 12 January 2012 05:53:42 g wrote: > > if you compare "/etc/shadow" to "/etc/shadow.rpmnew" when it is there, > > you will see that yum/rpm has added a program's name to "/etc/shadow" > > when yum/rpm adds a new program that needs to be assigned an id. > > > > this also happens to "/etc/group", "/etc/gshadow", and "/etc/passwd". > > > > why "/etc/shadow.rpmnew" was removed is hard to answer. > > AFAIK, yum/rpm can use the "usual" method of getting an id for a new program > (calling useradd or similar), which doesn't involve creating a shadow.rpmnew > file. This has nothing to do with adding users. The file /etc/shadow is owned by the "setup" RPM (it has the base OS-defined users like "root" and "mail"). When that RPM gets an update, rpm will see that /etc/shadow has changed (because users have been created) and not overwrite it. It will instead write it to /etc/shadow.rpmnew (and print a notification that it did that). This is no different than any other file marked as a configuration file in the RPM. Since /etc/shadow.rpmnew is meaningless, the "setup" RPM has a post-install script to remove it. -- Chris Adams <cmadams@xxxxxxxxxx> Systems and Network Administrator - HiWAAY Internet Services I don't speak for anybody but myself - that's enough trouble. -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org