<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? No way, I have never heard of that happening. Are your local admin accounts in /Users? 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 Larkin<BR>TIS Department<BR>KCKPS USD500<BR><a href="mailto:tlarki@kckps.org">tlarki@kckps.org</a><BR>blackberry: 913-449-7589<BR>office: 913-627-0351<BR><BR><BR><BR><br><br>>>> <Rich_Barron@vfc.com> 10/08/09 1:10 PM >>><br><font face="sans-serif" size="2">I'm having a strange problem that is randomly showing up where the admin GROUP is being deleted from the users systems, demoting the local admin account to a standard user. The users are all standard users anyway so they don't notice a thing until they ask a tech to update/install something and the tech can'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, create a new one, 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, I wanted to add this as a self service option so that I don't have to remote into the machine and run this command via terminal, or be able to do it via ARD. But the problem I am having is that the terminal asks for confirmation (are you sure you want to do this? y or n) and I don't know how to skip that question or enter 'y'. Can someone give me a hand?</font><br><br><font face="sans-serif" size="2">And has anyone heard of the admin group being deleted from a system randomly? This has never happened before, 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!</font><br><font face="sans-serif" size="2"><br style="font-family: sans-serif; font-size: 2">Rich Barron</font>
</p>
</body>
</html>