<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">adding a new user with &quot;useradd ...&quot; will create two additional files<br>
never removed:<br>
<br>
/etc/passwd- and /etc/shadow-<br>
<br>
Question: are these files only created for backup purposes, or is there<br>
another reason for this?<br>
<br><br></blockquote><div>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.</div>
<div><br></div><div>Hopefully someone with better knowledge than me will be able to confirm this.</div><div><br></div><div><br></div><div>Lewis </div></div><br>