image
image

Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
LinkBack Thread Tools
  #1  
Old April 14th, 2008, 02:58 PM
Satcomer's Avatar
In Geostationary Orbit
 
Join Date: Jul 2002
Location: Northern Virginia
Posts: 7,015
Thanks: 34
Thanked 182 Times in 177 Posts
Satcomer is a jewel in the roughSatcomer is a jewel in the roughSatcomer is a jewel in the roughSatcomer is a jewel in the rough
[HOWTO] Fix User lost Administrator privileges

I was follow the blog MAC OS HELP AND TIPS and cam across a great tip to fix Leopard lost Administrator privileges. THere is first the Apple Document Mac OS X 10.5: Administrator user changes to standard that talks about using the Install disk to reset the master password. However there is a Terminal way also the MAC OS HELP AND TIPS blog came up with:

Quote:
Shut down the computer if it is on.
-> Press the power button to start the computer.
-> Immediately press and hold the Command (Apple) key and the "s" key for single-user mode.
-> Type "mount -uw /" and press return.
-> Type "passwd" and press return.
-> Enter new password (this will be for the root user account) and press return.
-> Type "reboot" and press return.
-> Enter Account settings and when prompted for administrator account and password, use the user name root and the password you just setup
-> Check box for you standard account to administrate box
-> If all goes well you are admin again.
I will add to this, please DISABLE the root account after you do this, or at very least, use a good, strong password."
I hope you can use either the install disk trick or via this Terminal way.
__________________
Mac Pro Dual 2.8 Quad (1st gen), 14G Ram, Two DVD-RW Drives, OS X 10.6.2
Mac Book Pro Core 2 Duo 2.16Ghz, SuperDrive, ATI X1600, 2GB RAM, OS X 10.6.2
2TB Time Capsule
32G iPhone 3GS Black
Reply With Quote
  #2  
Old May 14th, 2009, 05:10 PM
Registered User
 
Join Date: May 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
freikorpsco is on a distinguished road
RE: change admin status

Boot single user, find short name of user ls /Users
1) mount –uw /
2) launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
3) dscl . append /Groups/admin GroupMembership (short name)
no need to enable root or use a install disk

also if you simply want to read which users are on the admin list -
dscl .read /Groups/admin GroupMembership
this can be done from terminal or single user
Reply With Quote
  #3  
Old October 23rd, 2009, 08:01 PM
sms sms is offline
Registered User
 
Join Date: Oct 2009
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
sms is on a distinguished road
10.6 update

Hello,

I've been trying to fix the privileges on my user for over a week now and just gave up and decided to ask for help. Ive read all posts I could find on the web but none of them worked, so I'm explaining below the problem I have and would appreciate any help.

My Mac was working OK with 10.5.8 when I installed the 10.6 update. For some weird reason, my user just lost all root privileges, in spite of showing that my user does have the privileges. When using the dscl command, but it shows that my user is included in the admin group. When looking at the user management panel in Settings, it shows the " let this user administer this machine" checkbox marked, but it is gray and dont let even the root user change it.

But, when I try to do anything that requires privileges, such as changing any configuration that requires authentication, or updating any software or even 10.6.1, it just dont let me. It is like I didnt have the privileges to administer the box.

Has anyone seen this kind of problem? Any idea of how to fix it?

Thanks in advance.
Reply With Quote
  #4  
Old October 24th, 2009, 01:11 AM
Satcomer's Avatar
In Geostationary Orbit
 
Join Date: Jul 2002
Location: Northern Virginia
Posts: 7,015
Thanks: 34
Thanked 182 Times in 177 Posts
Satcomer is a jewel in the roughSatcomer is a jewel in the roughSatcomer is a jewel in the roughSatcomer is a jewel in the rough
Yes. Boot with the 10.6 disk and before the install happens go to the menu items and in the Finder menu (on the install disk) hunt around the menu item to find "reset Administrator password". Reset the password and boot back into normal mode. Then in system Preferences->account change the password back to what you want. Then you must reboot your Mac one more time to let that password set in throughout the Mac.

I had this happen to me back in going from 104 to 10.5 on a clean install and this process fixed my problem. Hope it helps you.
__________________
Mac Pro Dual 2.8 Quad (1st gen), 14G Ram, Two DVD-RW Drives, OS X 10.6.2
Mac Book Pro Core 2 Duo 2.16Ghz, SuperDrive, ATI X1600, 2GB RAM, OS X 10.6.2
2TB Time Capsule
32G iPhone 3GS Black
Reply With Quote
  #5  
Old October 26th, 2009, 08:57 AM
sms sms is offline
Registered User
 
Join Date: Oct 2009
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
sms is on a distinguished road
Thanks Satcomer, but that didnt help either, since the problem is not with the root user, but with my personal account, and the root user was not able to change my profile either.

But I found the solution to my problem to be pretty easy to implement, after I found this thread in Apple foruns:

http://discussions.apple.com/thread....597&tstart=150

Quoting the solution described by donv (The Ghost):

"Try this solution. If it doesn't work, then we can think about reinstalling.

Go to ~/Library/preferences/ByHost/ and delete all com.apple.HIToolbox files.
Restart your Mac.
Go to your user account preference pane.
Unlock the lock
Type your password.
Lock the lock.
Try installing whatever you are having problems with again. "


And it worked great. After reboot, when I clicked on the lock, it prompted for my user and password, and the lock when unlocked. After that, everything worked great.

I thought I should share this with everyone in this forum.

Thanks.
Reply With Quote
The Following User Says Thank You to sms For This Useful Post:
Satcomer (November 3rd, 2009)
  #6  
Old November 3rd, 2009, 04:27 AM
Registered User
 
Join Date: Nov 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
luggrihud is on a distinguished road
I accept with information: 1) mount –uw /
2) launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist
3) dscl . append /Groups/admin GroupMembership (short name)
no need to enable root or use a install disk.
__________________________
Devis assurance auto en ligne comparatif voiture | Comparateur simulation devis assurance auto en ligne | Devis assurance auto en ligne
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 04:54 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.