— Tag: solution —

Reset root password using single-user boot in OSX Lion

Many people have been wondering what would happen if they forgot their admin password in Mac OS X. There is a solution: you have to own a Mac OS X Install DVD which provides a Password Utility application. But what if you don’t have one?..

When sudo doesn’t work…

Today I wanted to install some mkv tools via macports and received strange response:

$ sudo port install mkvtoolnix
sudo: can’t open /private/etc/sudoers: Permission denied
sudo: no valid sudoers sources found, quitting

After running $ ls -lad it turned out that something is wrong with boot volume permissions…