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ć Show information about an NFS server. This information is maintained by the mountd server on host . The default value for host is the value returned by hostname . With no options, show the clients co znaczy.
Przykład SU użycie :
Jak użyć shell, a command interpreter into which all other commands are entered. On modern versions of Linux, this is just another name for the bash shell. For more information, see Chapter 6 . For legacy krzyżówka.
Przykład SU użycie :
Jak użyć scancodes, or ASCII codes of keys pressed on the keyboard. The default is to show keycodes. In keycode and scancode mode, the program terminates 10 seconds after the last key is pressed. In ASCII co to jest.
Przykład SU użycie :
Jak użyć database(s) of filenames and print matches. Works like locate , but it also stores file permissions and ownership information so users cannot see files to which they don't have access. In some słownik.
Przykład SU użycie :
Jak użyć Server for the ssh program, providing a secure remote-login and remote-execution facility equivalent to rlogin and rsh . Normally started at boot, sshd listens for incoming connections, forking a new czym jest.