<div dir="ltr"><br><br><div class="gmail_quote">On Sat, Sep 27, 2008 at 9:21 AM, Kam Leo <span dir="ltr">&lt;<a href="mailto:kam.leo@gmail.com">kam.leo@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sat, Sep 27, 2008 at 12:13 AM, Don Russell<br>
<div><div></div><div class="Wj3C7c">&lt;<a href="mailto:fedora@drussell.dnsalias.com">fedora@drussell.dnsalias.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Sep 26, 2008 at 11:31 PM, Kam Leo &lt;<a href="mailto:kam.leo@gmail.com">kam.leo@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Sep 26, 2008 at 10:58 PM, Don Russell<br>
&gt;&gt; &lt;<a href="mailto:fedora@drussell.dnsalias.com">fedora@drussell.dnsalias.com</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Thu, Sep 25, 2008 at 4:56 AM, Bill Crawford<br>
&gt;&gt; &gt; &lt;<a href="mailto:billcrawford1970@gmail.com">billcrawford1970@gmail.com</a>&gt;<br>
&gt;&gt; &gt; wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On Thursday 25 September 2008 12:41:13 Brian Millett wrote:<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt; So the password field has changed from x to * &nbsp;????<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; I know that that means look in /etc/shadow for the password, but what<br>
&gt;&gt; &gt;&gt; &gt; inconsistancy will the older, established users find ??<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &#39;x&#39; means look in /etc/shadow, &#39;*&#39; is one of several ways of indicating<br>
&gt;&gt; &gt;&gt; &quot;no<br>
&gt;&gt; &gt;&gt; password&quot; as in you can&#39;t log in, rather than &quot;blank password&quot; which<br>
&gt;&gt; &gt;&gt; lets<br>
&gt;&gt; &gt;&gt; all<br>
&gt;&gt; &gt;&gt; log in without one. The .rpmnew is the &quot;unconverted&quot; form, if you run<br>
&gt;&gt; &gt;&gt; pwunconv<br>
&gt;&gt; &gt;&gt; you&#39;ll see the same it /etc/passwd.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The /etc/passwd.rpmnew has 15 lines of userid stuff...<br>
&gt;&gt; &gt; My /etc/passwd file has a lot more than that... and many I didn&#39;t even<br>
&gt;&gt; &gt; know<br>
&gt;&gt; &gt; about.... (various system things ntpd blah blah blah)<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Am I supposed to take the users that *I* added to the system (via<br>
&gt;&gt; &gt; system-config-users) and cut/paste those ones into the new one, changing<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; x to an *? And thereby dropping all those other ones that are set to<br>
&gt;&gt; &gt; nologon<br>
&gt;&gt; &gt; anyway?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Does pwconv or pwunconv do this for me automatically? (The man file<br>
&gt;&gt; &gt; looks<br>
&gt;&gt; &gt; great for people familiar with it... not so great for explaining what<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; commands really do.) Shouldn&#39;t the update script have done this when it<br>
&gt;&gt; &gt; updated setup?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;The pwconv command creates shadow from passwd and an optionally<br>
&gt;&gt; &gt; existing<br>
&gt;&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;shadow.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;The pwunconv command creates passwd from passwd and shadow and<br>
&gt;&gt; &gt; then<br>
&gt;&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;removes shadow.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; So where does passwd.rpmnew come into play?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; pwconv ... and removes shadow... um, don&#39;t I need shadow?<br>
&gt;&gt; &gt; ditto for pwunconv<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I don&#39;t get it, now I don&#39;t know what I have. :-(<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; The passwd &nbsp;rpm specified the creation of /etc/passwd. Since your<br>
&gt;&gt; system already had an existing /etc/passwd file that spec instructions<br>
&gt;&gt; were written such that the old file was not overwritten. Your old file<br>
&gt;&gt; was protected and /etc/passwd.rpmnew was created. You should thank the<br>
&gt;&gt; packager for being diligent.<br>
&gt;<br>
&gt; Yes, I understand that part of it. What I don&#39;t understand now is, what am I<br>
&gt; supposed to do with passwd.rpmnew?<br>
&gt;<br>
&gt; I don&#39;t mind manually merging in changes etc.. I do this all the time with<br>
&gt; other config files that get created as .rpmnew or .rpmsave... I always go<br>
&gt; and see what&#39;s changed....When I see this sort of thing for other packages<br>
&gt; (sendmail for example) I compare the two config files and it&#39;s pretty<br>
&gt; obvious they&#39;ve added a new config option or something, but since I&#39;ve<br>
&gt; changed mine, they leave the new one as rpmnew... no problema, I merge my<br>
&gt; changes in, restart sendmail, and presto keeno.. back in business with an<br>
&gt; up-to-date system.<br>
&gt;<br>
&gt; Right now, I&#39;m left wondering what I&#39;m supposed to do with these passwd<br>
&gt; files. Since I didn&#39;t add all those items to passwd in the first place, and<br>
&gt; now they are removed from passwd.rpmnew, does that mean those IDs are no<br>
&gt; longer required, and they should be removed from my passwd file?<br>
&gt;<br>
&gt; Every ID in passwd.rpmnew is already in passwd. But all IDs in passwd are<br>
&gt; not in passwd.rpmnew.<br>
&gt;<br>
&gt; As I asked before, am I supposed to drop those ones that were system<br>
&gt; generated, and just now keep the ones in passwd.rpmnew + the specific users<br>
&gt; *I* created?<br>
&gt;<br>
&gt; Should I just change the &quot;x&quot; in passwd to * and call it a day?<br>
&gt; And if that&#39;s the case, surely the update process could have done that...<br>
&gt; but, it&#39;s not a big deal.<br>
&gt;<br>
&gt; As for &quot;thanking the packager for being diligent&quot;. Um, doing that sort of<br>
&gt; &quot;save the file stuff&quot; is so basic, it pretty much goes with saying. But,<br>
&gt; yes, I DO appreciate the efforts of everybody that contributes to Fedora<br>
&gt; (and other open source stuff)... including myself.<br>
&gt;<br>
&gt; To me, being &quot;diligent&quot; in this regard is making it obvious what needs to be<br>
&gt; done next if the script didn&#39;t &quot;do it all&quot;.<br>
<br>
</div></div>I don&#39;t think you comprehend what I wrote. You do not need<br>
passwd.rpmnew. &nbsp;You can delete it.<br>
<br>
Search your system for .rpmnew files. You&#39;ll be surprised at how many<br>
there are. Some will duplicate existing files, Those you can delete.<br>
You should examine the others that differ to determine if you want to<br>
replace the original file with &nbsp;the .rpmnew version.</blockquote><div><br>Thanks Kam,<br><br>Actually, I&#39;m not surprised at all... I&#39;m good about checking those out, and cleaning them up. :-)<br><br>i.e.: [root@boris /]# pwd<br>
/<br>[root@boris /]# find . -name *.rpmsave<br>[root@boris /]# find . -name *.rpmnew<br>./etc/passwd.rpmnew<br>[root@boris /]# <br><br>Only the one we&#39;re talking about. :-)<br><br>I guess I was confused about Bill Crawford&#39;s remarks (back a few in the thread) about using x vs * ... Are they synonymous? Is one preferred over the other? What&#39;s the difference between x and * ?<br>
<br>OK, I&#39;m heading to the man pages now... (again) :-)<br><br>Cheers,<br></div></div><br></div>