Polecenie sudo
Opcje wykonania sudo
w konsoli
Execute command in the background.
Print help message, then exit.
Revoke user's sudo permissions. Similar to -K, but changes user's timestamp to the Epoch instead of revoking it.
List all allowed and forbidden commands for the user on the current host, then exit.
Use the specified promptstring to prompt for a password. The string may contain the following escape codes, which will be replaced with the current user's login name and local hostname.
%h Local hostname without the domain name.
%H Local hostname with the domain name.
%u Current user's login name
%U Login name of the user the command will run under. The default is root.
%% A single percent (%) character.
Run the shell specified in the SHELL environment variable, or the default shell specified in /etc/passwd. If a command is given, it should be a shell script and not a binary file.
Run command as the specified user instead of the root user. This may also be specified as a user ID number using #uid.
Update timestamp for user. Prompt for password if necessary.
Set the HOME environment variable to the home directory of the target user.
Remove user's timestamp.
List parameters that may be set as defaults for a user in the /etc/sudoers file.
Preserve initial user's group membership.
Read password from standard input instead of from the console.
Print version number, then exit. When run by the root user, print sudo's defaults and the local network address as well.
Stop reading command-line arguments.
Przykłady sudo działanie w Słownik polecenie S
- Przykład SUDO użycie :
- Jak użyć Generate, manage, and convert authentication keys for ssh . When using ssh-keygen to create a key, the -t option must be specified to identify the type of key to create co znaczy.
- Przykład SUDO użycie :
- Jak użyć TCP/IP command. Attach serial lines as network interfaces, thereby preparing them for use as point-to-point connections. Only a privileged user may attach or detach a network interface krzyżówka.
- Przykład SUDO użycie :
- Jak użyć transfer program, similar to ftp except that it uses ssh to perform file transfers securely. sftp connects to host and logs in, prompting for a password if required. The host can be specified in the co to jest.
- Przykład SUDO użycie :
- Jak użyć specified and print any printable character strings found that are at least four characters long and followed by an unprintable character. Often used to find human-readable content within binary słownik.
- Przykład SUDO użycie :
- Jak użyć between hosts on a network, using ssh . Part of the OpenSSH suite of network tools. scp requests a password or passphrase if required. The transfer can be between two remote hosts. If more than one czym jest.