Saturday, September 5, 2015
How to Add Yourself to Sudoers Files in the Mac OS X on a MacBook
Press 'Command-F' on the keyboard, type 'terminal' in the Search field and click the 'Terminal' appication to open it.
Type 'sudo –s' into the blank command prompt window and hit the 'Return' key. You are prompted to log in with your computer's root password.
Enter the administrator password that you chose when you originally set up your MacBook, then press 'Return' to log in as the root user.
Type 'sudo visudo' in the command prompt window and press 'Return.'
Place your text cursor at the end of the line that contains the text 'root ALL=(ALL) ALL.'
Hit 'Return' to add a new line and then type 'username ALL=(ALL) ALL,' replacing 'username' with the short name of the account you want to add to the sudoers list.
Select 'Save' from the File menu to confirm the changes.
VPS Hosting
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment