You are here: Articles > Apple Mac > Apple Mac

 See more articles about "Apple Mac "

Mac OS X recover lost root password

 

For the sake of security, recommendations say to have unique, complex passwords. Most people have a hard time remembering these and will eventually forget one. Forgetting the root password on a Mac system can seem devastating, but this recipe will show an easy way to recover.

If you have the password to an account that is an administrator on the system, then it is easy to recover the password using the sudo command. Open a terminal window and type:



sudo passwd root



and you will be prompted for your password (the user account that you do remember). Then you will be prompted for the new root password twice. That's it!



The sudo command is a wonderful way to control who can do what on a system. In this case, since the user account is considered an administrator, the sudo command allows you (after confirming that you are who you say you are with the user password) to run a command as if you were root. The command we are running is passwd root which is the command to change the password for the root user.



If you do not have an administrator password, either, you can still reset the root password. Boot the system from the Mac OS X installation CD and select the Reset password option from the installer screen and follow the directions.

 

Also see ...

Mac OS X increase or decrease a web browser font size
H3Some web pages may use a font size that doesn't render properly in different browsers on various platforms. If you find yourself squinting at a web page, this simple keyboard shortcut can help./H3PTo increase the font size of the current web page, press span style="font weight: bold"comma

Copy music files from your ipod using only the command line.
H3Copying files from your iPod to your Apple system is easy. Here are the commands./H3PAfter seeing a a href="http://www.tech recipes.com/entertainment_tips1310.html" target="_blank" class="postlink" rel="nofollow"recent tutorial on copying files from your iPod to your PC/a, I wanted to s

Convert Mac OSX DMG CD or DVD image to ISO format to burn on Windows
H3If you download a DMG file and need to write it to a CD or DVD but don't have the necessary drive on your Mac, you can convert it to the Window's friendly ISO format using the hdiutil command./H3PThe hdiutil command is only available in Mac OSX so these steps must be performed on the Mac sid

OS X: Screenshot Shortcuts
H3Taking screenshots in OS X is very simple. Here are the shortcuts to do it./H3Pcenter br /a href="http://www.flickr.com/photos/tech recipes/383098103/" title="Photo Sharing" rel="nofollow"/a br //center br / br /span style="font weight: bold"Command+Shift+3/span Capture

OS X: Play Movie As Background of Desktop
H3Microsoft has recently released released dreamscene which allows users to run a movie file as the desktop background. High quality free video software will do this for mac as well./H3PAlthough not friendly to the CPU, running a movie as a background is natural in certain environments. I lo