Saturday, September 1, 2012

Sudo command with Ubuntu

Sudo runs a single command with root privileges.  By default, Ubuntu remembers the password for 15 minutes.  To get a full root shell, use the sudo with the lowercase i.

linux_sudo_1

To enable the root user account, use sudo passwd root command.

linux_sudo_2

Permissions can be assigned to a user to use sudo via the visudo command.

linux_sudo_3

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.