Join Kevin Skoglund for an in-depth discussion in this video sudo and sudoers, part of Unix for Mac OS X Users.
In the previous movie I told you that the root user is disabled on Mac OS X by default.…That's okay. We don't need it to be enabled.…Because as admin users on the Mac, we can do everything that the root user can do.…We just have to do it by using the sudo command.…That stands for substitute user and do.…Some people mistakenly think that it stands for superuser do, because the root…user is a superuser.…But what it's actually doing is substituting in a different user identity and…I'll show you how you can pick a different user besides root in a moment.…But sudo is a command that runs other commands.…
So it's essentially like prefixing a line with sudo when you wanted to do it as root.…So just as an example, sudo ls -la. The command is exactly like we would…normally type. We're just saying, hey, don't do this as Kevin, do this as root.…Let me show you what happens.…We hit Return. It comes up and it wants a password.…Now that's not root's password, because root is disabled, what it wants is in…this case it wants my password, Kevin's password again.…
- Moving around the file system
- Creating and reading files
- Copying, moving, renaming, and deleting files and directories
- Creating hard links and symbolic links
- Understanding user identity, file ownership, and sudo
- Setting file permissions with alpha and octal notation
- Changing the PATH variable
- Using the command history
- Directing input and output
- Configuring the Unix working environment
- Searching and replacing using grep and regular expressions
- Manipulating text with tr, sed, and cut
- Integrating with the Finder, Spotlight, and AppleScript
Skill Level Beginner
1. Introduction to Unix
2. Filesystem Basics
3. Working with Files and Directories
4. Ownership and Permissions
5. Commands and Programs
6. Directing Input and Output
7. Configuring Your Working Environment
8. Unix Power Tools
9. Useful Mac-Only Commands and Techniques
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.