This what TCLUG is for!<br>I'm glad you got everything figured out too.<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> I guess /etc/sudoers has my name rather than uid listed, so I was in, made changes, golden.<br>
</blockquote><div><br>As far as I understand, <i>/etc/sudoers</i> assigns privileges bases on user name and group name.<br>So, yes. You don't have to worry about your <i>uid</i> or your <i>gid</i> in that regard.  <br>
<br>-> Jake<br></div><br><div class="gmail_quote">On Wed, Jun 13, 2012 at 2:14 PM, Mike Miller <span dir="ltr"><<a href="mailto:mbmiller+l@gmail.com" target="_blank">mbmiller+l@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Wed, 13 Jun 2012, Mike Miller wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I had somehow accidentally created two copies of the group "staff", one with gid 50 and another with gid 1000.  So I wanted to get rid of the one with gid 1000 and change everyone over to the group with gid 50.<br>

<br>
When I edited /etc/passwd, I changed every :1000: to :50: because when I looked at the file I thought they were all groups, but it turns out that exactly one was not -- it was my uid.  So I changed my record in the passwd file such that my uid is now 50 instead of 1000, but I am logged in as 1000, which no longer exists.  So when I try to sudo, it won't let me, always saying:<br>

<br>
sudo: unknown uid: 1000<br>
<br>
I suppose I can boot to Live CD and change the /etc/passwd file appropriately.  Is there any easier way to do it?<br>
</blockquote>
<br>
<br></div>
Yes - figured it out.  I logged in remotely via ssh via my username.  It then assigned me to the new uid I had created.  I guess /etc/sudoers has my name rather than uid listed, so I was in, made changes, golden.<br>
<br>
Sorry to bug you with this!<div class="HOEnZb"><div class="h5"><br>
<br>
Mike<br>
______________________________<u></u>_________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/<u></u>mailman/listinfo/tclug-list</a><br>
</div></div></blockquote></div><br>