sudo for Windows comes to town

Chat about just about anything else
Forum rules
Do not post support questions here. Before you post read the forum rules. Topics in this forum are automatically closed 30 days after creation.
Locked
t42
Level 11
Level 11
Posts: 3747
Joined: Mon Jan 20, 2014 6:48 pm

sudo for Windows comes to town

Post by t42 »

The link is https://github.com/microsoft/sudo.
Sudo is available for Windows 11 builds 26045 and later. If you're on an Insiders build with sudo, you can enable it in the Windows Settings app, on the "Developer Features" page.
But...
Obviously, the everything about permissions and the command line experience is different between Windows and Linux. This project is not a fork of the Linux sudo project, nor is it a port of the Linux sudo project. Instead, Sudo for Windows is a Windows-specific implementation of the sudo concept.
Last edited by LockBot on Sat Mar 09, 2024 10:50 pm, edited 1 time in total.
Reason: Topic automatically closed 30 days after creation. New replies are no longer allowed.
-=t42=-
User avatar
diyliberty
Level 3
Level 3
Posts: 143
Joined: Sat Feb 19, 2022 11:40 am

Re: sudo for Windows comes to town

Post by diyliberty »

I think they are just prepping their users. In another 3-5 Windows generations Microsoft is going to run Windows into the ground, give up and switch to a Linux kernel. They might switch to a "free" OS but pay a subscription for support like Redhat. Microsoft is no longer focused on their operating systems anymore. They are more focused on the cloud, Office subscriptions and AI. Windows is an afterthought. If they lose enough market share, they will abandon it just like they abandoned so many other MS products such as their browser, Windows Phone, Windows Media Center, Microsoft Band (smart watch) and many other products.
User avatar
MikeNovember
Level 7
Level 7
Posts: 1856
Joined: Fri Feb 28, 2020 7:37 am
Location: Nice, Paris, France

Re: sudo for Windows comes to town

Post by MikeNovember »

Hi,

Today, a secure installation of Windows requires to install an admin account, a simple user one, and use the "runas" command to perform admin tasks from the user account.
This is the way Windows is professionally installed in companies.
However, all the home PC manufacturers deliver their computers with a simple installation program that installs one admin account only. So, when the home user does anything, it does it with admin (superuser) rights, and this is a security weakness.
A sudo mode in Windows would allow a Linux similar way to use it, increasing home users security (while companies would use Windows in the same way as today: they don't want their employees to install programs).
This doesn't mean Windows will adopt a Linux kernel: Windows has a BIG advantage, its very large base of available programs, and its ascending compatibility (30 years old programs can still be run in Windows 10 or 11).
And Windows is now used to sell services: Microsoft Office is now sold as a service with an annual fee.
However, who knows the future of Windows?

Regards,

MN
_____________________________
Linux Mint 21.3 Mate host with Ubuntu Pro enabled, VMware Workstation Player with Windows 10 Pro guest, ASUS G74SX (i7-2670QM, 16 GB RAM, GTX560M with 3GB RAM, 1TB SSD).
Locked

Return to “Open Chat”