Help - Search - Members - Calendar
Full Version: Help! My only user has lost admin privs and can't su/sudo!
InsanelyMac Forum > Apple World > OS X > OS X (10.0 - 10.4)
CPngN
I don't know how or when this happened, but I seem to have lost root privileges on my hackintosh 10.4.8. I went to install the free 1passwd they're offering and it naturally asked me for my pass. Failed. Looked in Accounts, my only non-root/guest login "cpn" is now a "Standard" user. I boot with Acronis boot selector so doing the Apple+S trick to get into single user mode is hard or impossible to do now. I can't edit Boot.plist cuz..... I need the root password! W T F?!?! censored2.gif

Anyone have ANY idea how I can repair this? I was just about to try 10.5.1 too, but I'd like to fix this first! (Maybe I don't need to..? hmm)

Some info from Terminal:

N2OSX:~ cpn$ users
cpn
N2OSX:~ cpn$ groups
cpn appserveradm appserverusr games

A bunch of things are owned by root:80. 80?!! How does stuff like this happen anyway if one is not playing with users/accounts?

CODE
N2OSX:~ cpn$ dir /
total 9899
drwxrwxr-t   30 root  80        1122 Jan  4 22:13 ./
drwxrwxr-t   30 root  80        1122 Jan  4 22:13 ../
-rw-rw-r--    1 cpn   80       15364 Jan  4 23:36 .DS_Store
drw-------    9 root  cpn        306 Jan  4 22:14 .Spotlight-V100/
d-wx-wx-wt    3 root  80         102 Jan  5  2007 .Trashes/
-rw-------    1 root  wheel   217088 Dec  2 01:35 .hotfiles.btree
dr-xr-xr-x    2 root  wheel       96 Jan  4 22:13 .vol/
drwxrwxr-x   50 root  80        1700 Oct 15 14:00 Applications/
-rw-r--r--    1 root  cpn       4096 Jun 26  2007 Desktop DB
-rw-r--r--    1 root  cpn       6082 Mar 17  2007 Desktop DF
drwxrwxr-x   48 root  80        1632 Jul 31 17:50 Library/
-rwxrwxrwx    1 root  80       11472 Mar 17  2007 MAU 1.1.2 Update Log*
drwxr-xr-x    1 root  wheel      512 Jan  4 22:14 Network/
drwxr-xr-x    4 root  wheel      136 Jan  5  2007 System/
drwxrwxr-t    7 root  80         238 Feb 15  2007 Users/
drwxrwxrwt    6 root  80         204 Jan  4 22:14 Volumes/
drwxr-xr-x    4 root  80         136 Jan  6  2007 automount/
drwxr-xr-x   40 root  wheel     1360 Jan  5  2007 bin/
drwxrwxr-t    2 root  80          68 Jul  1  2006 cores/
dr-xr-xr-x    2 root  wheel      512 Jan  4 22:13 dev/
lrwxr-xr-x    1 root  80          11 Jan  5  2007 etc@ -> private/etc
lrwxr-xr-x    1 root  80           9 Jan  4 22:13 mach@ -> /mach.sym
-r--r--r--    1 root  80      628676 Jan  4 22:13 mach.sym
-rw-r--r--    1 root  wheel  4159428 Dec 28  2006 mach_kernel
drwxr-xr-x    6 root  wheel      204 Jan  4 22:13 private/
drwxr-xr-x   63 root  wheel     2142 Jul 31 18:01 sbin/
lrwxr-xr-x    1 root  80          11 Jan  5  2007 tmp@ -> private/tmp
drwxr-xr-x   10 root  wheel      340 Jan 17  2007 usr/
lrwxr-xr-x    1 root  80          11 Jan  5  2007 var@ -> private/var
drwxr-xr-x    3 cpn   80         102 Mar 23  2007 www/



TIA!
Neilis
I'm too lazy to look it up, but is HFS+ mountable by Linux? If so, boot a Linux CD (Knoppix works well) and try mounting your partition from there. You should then be able to do any editing you need to.
SticMAC™
Cant you boot from the installDVD and reset the password?


SticMAN
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.