sudo and sudoers


show more sudo and sudoers provides you with in-depth training on IT. Taught by Kevin Skoglund as part of the Unix for Mac OS X Users show less
please wait ...

sudo and sudoers

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 roo...

sudo and sudoers
Video duration: 5m 20s 6h 35m Beginner

Viewers:

sudo and sudoers provides you with in-depth training on IT. Taught by Kevin Skoglund as part of the Unix for Mac OS X Users

Subject:
IT
Software:
Mac OS X Unix
Author:
please wait ...