“Sudo -Befehl in Windows” Code-Antworten

Sudo -Befehl in Windows

# 2 ways to become sudo user from windows terminal

# 1st way ---> just this command in terminal & this user must have admin priliages ... # check user privilages by ==> net user user_name > Local Group Memberships = *Administrators
runas /user:user_name cmd


# 2nd way is to intsall sudo package from "chocolatey" windows-package-manage
# and enjoy sudo command in windows just like in linux ==> BEST CHOICE
choco install -y sudo
Srinivas Vadige

So laufen Sie sudo in Windows

Simply specify the user and command to run as follows:
runas /user:Admin cmd
Armandres

Sudo Windows

runas /noprofile /user:Administrator cmd
javimu

Ähnliche Antworten wie “Sudo -Befehl in Windows”

Fragen ähnlich wie “Sudo -Befehl in Windows”

Weitere verwandte Antworten zu “Sudo -Befehl in Windows” auf Shell/Bash

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen