Apr 29 2022 01:22 AM
When I try the following code
Copy-Item /etc/sudoers ./sudoers
Suddenly, an error is reported as follows
How can I solve it?How can PowerShell obtain root permission under Linux platform?
Apr 29 2022 02:40 AM
May 02 2022 07:53 PM
@Harm_Veenstra It works out as shown in the follwing figure.
But it reopens a 'pwsh' process to run commands.
How to run commands without restarting a 'pwsh' shell process.
May 03 2022 12:18 AM
Solution