Purpose of /etc/passwd- and /etc/shadow- ?

Lewis Handy lewis.handy at gmail.com
Thu Jan 12 12:08:17 UTC 2012


>
> adding a new user with "useradd ..." will create two additional files
> never removed:
>
> /etc/passwd- and /etc/shadow-
>
> Question: are these files only created for backup purposes, or is there
> another reason for this?
>
>
> Looking at a system I have recently added users to the /ect/passwd- and
/etc/shadow- files are as they were prior to adding the users, so I would
assume that they are created as a backup of the original state before the
useradd procedure is actually committed.

Hopefully someone with better knowledge than me will be able to confirm
this.


Lewis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120112/1e19b73b/attachment.html>


More information about the users mailing list