answersLogoWhite

0

Run 'man <program name>' to get the full manual to a program. Below is an example how to get the sudo manual and the first few lines of the manual.

$ man sudo

NAME

sudo, sudoedit - execute a command as another user

SYNOPSIS

sudo -h | -K | -k | -L | -V

sudo -v [-AknS] [-g group name|#gid] [-p prompt] [-u username|#uid]

sudo -l[l] [-AknS] [-g group name|#gid] [-p prompt] [-U user name]

[-u user name|#uid] [command]

sudo [-AbEHnPS] [-C fd] [-g group name|#gid] [-p prompt]

[-u user name|#uid] [VAR=value] [-i | -s] [command]

sudoedit [-AnS] [-C fd] [-g group name|#gid] [-p prompt]

[-u user name|#uid] file ...

DESCRIPTION

sudo allows a permitted user to execute a command as the superuser or

another user, as specified in the sudoers file. The real and effective

uid and gid are set to match those of the target user as specified in

the passwd file and the group vector is initialized based on the group

file (unless the -P option was specified). If the invoking user is

root or if the target user is the same as the invoking user, no

password is required. Otherwise, sudo requires that users authenticate

themselves with a password by default (NOTE: in the default

configuration this is the user's password, not the root password).

Once a user has been authenticated, a time stamp is updated and the

user may then use sudo without a password for a short period of time

(15 minutes unless overridden in sudoers).

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is menning sudo command in Linux?

sudo will run a command with root privileges


What does the sudo command do in linux?

When u put sudo before a command in terminal the command run with root privileges


What is the Linux command to reboot?

$su $reboot or $sudo reboot


How do you install Firefox on Linux?

Most distribution have firefox installed by default. But if it isn't you can try type these into the command line: sudo apt[-get] install firefox sudo yum install firefox sudo dnf install firefox sudo aptitude install firefox sudo urpmi firefox sudo installpkg firefox.tgz sudo emerge firefox sudo pacman -S firefox


How can FTP be installed in Linux environment?

It varies from distribution to distribution, for example in ubuntu you would do one of these: sudo apt-get install ftpd sudo apt-get install pure-ftpd sudo apt-get install vsftpd


What is the Linux command for installing an application?

At a terminal prompt: sudo apt-get install &lt;application-name&gt;


I am looking for the administrator login in ubuntu what can you advice please?

"Administrator" doesn't have the quite the same meaning in Linux as it does in Windows. In Linux, an administrator is someone with sudo privileges. It does not automatically grant them the ability to do anything they want on the system, but instead do it by issuing the sudo command, and entering their password when prompted.


What is sudo?

sudo is a Linux command used to execute programs as the root, or "super user." sudo is a shortening of "super user do." One uses sudo when they need to run a command or program as root, but do not wish to log out or switch their entire shell to root privileges (like they could do with the su command). The file sudoers defines per user or per group what commands can be run with sudo. This file is edited with the command visudoers


How do you install audacity in Linux server?

"Sudo apt-get install audacity" (without the quotes) will download and install from the internet.


How do you run an installer as a superuser on Ubuntu Linux?

From the command line, always use sudo. For instance:sudo sh installer.shorsudo ./installer.binNote: If you don't have (don't want to use) sudo, then just: su -c './installer'


What command in Linux do you use to list known connected storage devices?

sudo fdisk -l (fdisk must be run as supper-user, hence, sudo).lsusb to list USB devices.


How do you run a command with root previlage on Linux?

Either login as the root user or type: sudo then the command you wish to run.