Co robi SU użycie. Konsola privileged user (i.e., become a superuser). Enter EOF to terminate. You.

Czy przydatne?

Polecenie su

Wykonanie, użycie: Create a shell with the effective user ID user. If no user is specified, create a shell for a privileged user (i.e., become a superuser). Enter EOF to terminate. You can run the shell with particular options by passing them as shell_args (e.g., if the shell runs bash, you can specify -c command to execute command via bash, or -r to create a restricted shell)

Opcje wykonania su w konsoli

-, -l, --login

Go through the entire login sequence (i.e., change to user's environment).

-c command, --command=command

Execute command in the new shell and then exit immediately. If command is more than one word, it should be enclosed in quotes. For example:

su -c 'find / -name *.c -print' nobody

-f, --fast

Start the shell with the -f option, which suppresses the reading of the .cshrc or .tcshrc file. Applies to csh and tcsh.

-m, -p, --preserve-environment

Do not reset environment variables.

-s shell, --shell=shell

Execute shell, not the shell specified in /etc/passwd, unless shell is restricted.

--help

Print a help message and then exit.

--version

Print version information and then exit.

Przykłady su działanie w Słownik polecenie S

Przykład SU użycie :
Jak użyć Compute or check 160-bit SHA1 checksums to verify file integrity. If the file is not specified, or specified as - , read from standard input co znaczy.
Przykład SU 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 krzyżówka.
Przykład SU użycie :
Jak użyć contents of an inode as they appear to the stat system call in a human-readable format. The error messages Can't stat file and Can't lstat file usually mean the file doesn't exist. Can co to jest.
Przykład SU 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 SU użycie :
Jak użyć System administration command. Make the listed devices available for swapping and paging czym jest.