Solved

need to restore an erased unix group

Posted on 2001-08-07
3
234 Views
Last Modified: 2013-11-17
OK. It's all my fault for poking around where I should not have been. I take the blame for this one. Just hope there's a not-too-difficult fix.

I was looking at Netinfo Manager in Macintosh OS X and saw the admin group. It seemed to have too many users in it. Used the deleted key thinking I was removing a user but ended up removing the group. Now none of the administrative passwords work and those users who were administrators are not any longer.

Is there a way to restore this group with either some Apple tool or through the use of the terminal mode?

Thanks to anyone who can help me with this.

Weed's comment helped solve some of the problem

I was able to log on as root and get to the "make user an administrator" check boxes in user preferences but when I logged out these check boxes were cleared. This also happened with any new users I created.

Thanks, Weed for getting me this far.

I was also unable to delete any of the new users since the system indicated that the new user's directory would be assigned to the administrator and the system does not see anyone in this capacity.

Looks like that group is rather important.
0
Comment
Question by:RHS
  • 3
3 Comments
 
LVL 30

Expert Comment

by:weed
ID: 6361576
You cant restore it but you can recreate those users. Just enable root via NetInfo and use that as your admin password. Then start adding in users again.
0
 
LVL 30

Accepted Solution

by:
weed earned 100 total points
ID: 6443318
Answer as above.
0
 
LVL 30

Expert Comment

by:weed
ID: 6446765
A "B"?...sometimes the answer you want to hear just doesnt exist.
0

Featured Post

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes in detail how to set up the iPad in the Enterprise using iPCU aka iPhone Configuration Utility.  This could also be used for the iPhone although I have not detailed out any differences. Preparation as an iPad Administrator:…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question