Solved

need to restore an erased unix group

Posted on 2001-08-07
3
232 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Apple's Mac OS X has become an official member of the malware club. The Flashback Trojan has affected over half million Macs, worldwide. It is behavior that ultimately gets malware onto a person’s computer. Obsolete or out-of-date software helps…
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:…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

919 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now