Answers for "how to run sudo in windows"

0

sudo command 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
Posted by: Guest on March-27-2021
0

how to run sudo in windows

Simply specify the user and command to run as follows:
runas /user:Admin cmd
Posted by: Guest on October-15-2020
0

run command with sudo

Switch to Root User
This command switches your command prompt to the BASH shell as a root user:
sudo bash
Posted by: Guest on March-30-2021

Browse Popular Code Answers by Language