Jak użyć SU: 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 wykonanie SU polecenie.

Czy przydatne?

Komenda/polecenie: Jak użyć su

Uruchomienie, wykonanie: su [option] [user] [shell_args]

Jak działa, co robi: 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)

Dostępne opcje, wywołanie: -, -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.

Użycie SU zastosowanie komendy na linii poleceń na literę S

Co robi SU:

Zastosowanie komendy su - wykorzystanie w środokowsku Unix/Linux.

  • Komenda sshd linia poleceń secure remote-login and remote-execution facility equivalent to rlogin and rsh
  • Komenda setleds linia poleceń Lock, and Scroll Lock) for the current virtual terminal. With no options
  • Komenda sed linia poleceń interaction. See Chapter 1 for more information
  • Komenda strace linia poleceń optional arguments. strace shows you how data is passed between the program and
  • Komenda stat linia poleceń stat system call in a human-readable format. The error messages Can't stat

Jak użyć SU? Uruchamianie SU z linii poleceń. Komenda SU z konsoli. Uruchomienie SU. Zastosowanie SU.

Linia poleceń Us użycie.