Blog Archives
Mac Sudo Password
Note: “Sudo” is short for “Substitute User Do” or “Superuser Do”
This may come as a shock if you’re new to Mac and ever used a *nix system before.. but the sudo password, is your password! If you’re administrator anyway, if not, ask your *rents, instructor or local admin to help you out. 😉
/etc/sudoers contains the permissions for who can use it, and once you have it, it is very powerful indeed.
If for any reason you need to have access to the full root account, this is actually not enabled on a Mac by default, for good reason.
To Enable Root User (see Apple KB below for reference):
1) From the Apple menu choose System Preferences….
2) From the View menu choose Accounts.
3) Click on the lock and authenticate with an administrator account.
4) Click Login Options….
5) Click the “Edit…” or “Join…” button at the bottom right.
6) Click the “Open Directory Utility…” button.
7) Click the lock in the Directory Utility window.
8) Enter an administrator account name and password, then click OK.
9) Choose Enable Root User from the Edit menu.
10) Enter the root password you wish to use in both the Password and Verify fields, then click OK.
References
Apple KBase, http://support.apple.com/kb/ht1528
Wikipedia (Sudo), http://en.wikipedia.org/wiki/Sudo
Wikipedia (SU), http://en.wikipedia.org/wiki/Su_%28Unix%29
Mac OS X Quick Reference
After writing multiple articles on a single subject, I decided to consolidate the links into a single point of reference. All links below are internal to my site and do not redirect outside of my blog.
(Tested on 10.6 Leopard.)
enable root user, or mac sudo password and settings, https://ronniediaz.com/2011/04/14/mac-sudo-password/
install macports and/or issues with install and configuring, https://ronniediaz.com/2011/04/14/no-indexes-found-sync-your-source-ports
converting iso images with bchunk, (discussed in my article on creating hybrid discs with toast), https://ronniediaz.com/2011/04/14/convert-toast-bin-to-iso-in-mac-os-x
open textedit from command line, https://ronniediaz.com/2011/04/14/open-textedit-from-command-line-on-mac-os-x-10-6-leopard/
vi keyboard shortcuts Quick Reference, https://ronniediaz.com/2011/04/14/vi-keyboard-shortcuts-quick-reference/