When I was playing around with the Users and Groups, I went ahead and checked every single box. I mean, why not, I want full access, right? Nevermind that looking back I realize that some specifically say not to add them to users.
I had basic user rights, but no root rights. I could not login as root, su to root, pfexec as root, save files owned by root, reboot the system, anything.
Looking at /etc/user_attr, I noticed that while I did have the role=root attached to my name, there was a lot of garbage (read: all those checkmarks listed as profiles) before it. Maybe 256 characters, maybe 512, I didn't honestly count.
I logged into the 2008.05 livecd and saw that jack only had Primary Administrator. Ok, I'll duplicate that. Unfortunately, I couldn't find the real /etc directory in order to just rewrite it as jack.
Since I didn't have root access, I couldn't change the file.
- At the GRUB prompt, hit e for edit
- Arrow down to the kernel$ line
- Hit e to edit
- Append -s to the end of the line and hit enter
- Hit b to start booting
- When prompted, type in the root password
- vi /etc/user_attr and remove all profiles except Primary Administrator from my account
- save the file, exit to the prompt, hit ctrl-D to exit single-user mode