<html>
  <head>
    <style type="text/css">
      <!--
        body { margin-bottom: 1px; margin-right: 4px; margin-left: 4px; line-height: normal; margin-top: 4px; font-variant: normal }
        p { margin-bottom: 0; margin-top: 0 }
      -->
    </style>
    
  </head>
  <body>
    <p style="margin-top: 0; margin-bottom: 0">
      <font face="Lucida Grande" size="3">Deleted randomly&#63; &nbsp;No way&#44; I have never heard of that happening. &nbsp;Are your local admin accounts in /Users&#63; &nbsp;I have a few ideas I can toss at you that might help out a lot.</font>    </p>
<br>      
    <p style="margin-top: 0; margin-bottom: 0">
      <br>
      <br>
      <br>___________________________<BR>Thomas&nbsp;Larkin<BR>TIS&nbsp;Department<BR>KCKPS&nbsp;USD500<BR><a href="mailto:tlarki@kckps.org">tlarki@kckps.org</a><BR>blackberry:&nbsp;&nbsp;913-449-7589<BR>office:&nbsp;&nbsp;913-627-0351<BR><BR><BR><BR><br><br>&gt;&gt;&gt; &lt;Rich_Barron@vfc.com&gt; 10/08/09 1:10 PM &gt;&gt;&gt;<br><font face="sans-serif" size="2">I&#39;m having a strange problem that is randomly showing up where the admin GROUP is being deleted from the users systems&#44; demoting the local admin account to a standard user. The users are all standard users anyway so they don&#39;t notice a thing until they ask a tech to update/install something and the tech can&#39;t do it.</font><br><br><font face="sans-serif" size="2">I have a fix I can run in terminal to delete the existing admin group&#44; create a new one&#44; and add the admin user to the admin group: </font><br><br><font face="Helvetica" size="3">dseditgroup -o delete admin</font><br><font face="Helvetica" size="3">dseditgroup -o create admin</font><br><font face="Helvetica" size="3">dscl . -append /Groups/admin GroupMembership admin</font><br><br><font face="sans-serif" size="2">Now&#44; I wanted to add this as a self service option so that I don&#39;t have to remote into the machine and run this command via terminal&#44; or be able to do it via ARD. But the problem I am having is that the terminal asks for confirmation &#40;are you sure you want to do this&#63; y or n&#41; and I don&#39;t know how to skip that question or enter &#39;y&#39;. Can someone give me a hand&#63;</font><br><br><font face="sans-serif" size="2">And has anyone heard of the admin group being deleted from a system randomly&#63; This has never happened before&#44; but now we are using Centrify Direct Control for connecting to AD. Not sure if there is a cause/effect relationship there or not. </font><br><br><font face="sans-serif" size="2">Thanks for any help&#33;</font><br><font face="sans-serif" size="2"><br style="font-family: sans-serif; font-size: 2">Rich Barron</font>
    </p>
  </body>
</html>