* . *
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Friday, June 27, 2025
Earth-News
  • Home
  • Business
  • Entertainment
    Susquehanna Raises Penn Entertainment Inc. (PENN) Price Target. – Yahoo Finance

    Susquehanna Raises Price Target for Penn Entertainment Inc. (PENN)

    George Lopez is coming to Spokane – KXLY.com

    George Lopez is coming to Spokane – KXLY.com

    Netflix unveils Dallas immersive venue for fans of hit shows like ‘Squid Game,’ ‘Stranger Things’ – Houston Chronicle

    Step Inside Netflix’s New Dallas Immersive Experience Featuring Hits Like ‘Squid Game’ and ‘Stranger Things

    ‘Puttin’ on the Ritz’: Civic Players bring ‘Young Frankenstein’ to life – Yahoo

    Civic Players Deliver a Hilarious and Unforgettable Performance of ‘Young Frankenstein

    ‘Wheel of Fortune’: Amputee Wins $60,000 After Breaking Incredible ‘Curse’ – Hastings Tribune

    Wheel of Fortune’ Amputee Breaks Incredible ‘Curse’ to Win $60,000!

    North Star Sports & Entertainment Network: Coming soon – KTTC News

    North Star Sports & Entertainment Network: Coming soon – KTTC News

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    St. Francis Medical Center brings advanced robotic surgery technology to Northeast Louisiana – KNOE

    St. Francis Medical Center brings advanced robotic surgery technology to Northeast Louisiana – KNOE

    Wayve Expands Engineering Leadership to Power Next-Gen Autonomous Driving Technology – Silicon Canals

    Wayve Boosts Engineering Leadership to Accelerate Next-Gen Autonomous Driving Innovation

    Frontdoor Announces Tech Expert Dr. Bala Ganesh as Chief Technology Officer – Business Wire

    Frontdoor Appoints Tech Visionary Dr. Bala Ganesh as New Chief Technology Officer

    Defense technology giant Northrop Grumman to host interviews in Iuka to fill technician roles – supertalk.fm

    Defense technology giant Northrop Grumman to host interviews in Iuka to fill technician roles – supertalk.fm

    China’s Military Introduces Mosquito-Sized Drones: A Game-Changing Surveillance Technology – Indian Defence Review

    China Unveils Mosquito-Sized Drones: Revolutionizing Surveillance Technology

    Marvell Technology Stock Rallies After AI Event Sparks Investor Optimism – Yahoo Finance

    Marvell Technology Stock Rallies After AI Event Sparks Investor Optimism – Yahoo Finance

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
  • Home
  • Business
  • Entertainment
    Susquehanna Raises Penn Entertainment Inc. (PENN) Price Target. – Yahoo Finance

    Susquehanna Raises Price Target for Penn Entertainment Inc. (PENN)

    George Lopez is coming to Spokane – KXLY.com

    George Lopez is coming to Spokane – KXLY.com

    Netflix unveils Dallas immersive venue for fans of hit shows like ‘Squid Game,’ ‘Stranger Things’ – Houston Chronicle

    Step Inside Netflix’s New Dallas Immersive Experience Featuring Hits Like ‘Squid Game’ and ‘Stranger Things

    ‘Puttin’ on the Ritz’: Civic Players bring ‘Young Frankenstein’ to life – Yahoo

    Civic Players Deliver a Hilarious and Unforgettable Performance of ‘Young Frankenstein

    ‘Wheel of Fortune’: Amputee Wins $60,000 After Breaking Incredible ‘Curse’ – Hastings Tribune

    Wheel of Fortune’ Amputee Breaks Incredible ‘Curse’ to Win $60,000!

    North Star Sports & Entertainment Network: Coming soon – KTTC News

    North Star Sports & Entertainment Network: Coming soon – KTTC News

  • General
  • Health
  • News

    Cracking the Code: Why China’s Economic Challenges Aren’t Shaking Markets, Unlike America’s” – Bloomberg

    Trump’s Narrow Window to Spread the Truth About Harris

    Trump’s Narrow Window to Spread the Truth About Harris

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    Israel-Gaza war live updates: Hamas leader Ismail Haniyeh assassinated in Iran, group says

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    PAP Boss to Niger Delta Youths, Stay Away from the Protest

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Court Restricts Protests In Lagos To Freedom, Peace Park

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Fans React to Jazz Jennings’ Inspiring Weight Loss Journey

    Trending Tags

    • Trump Inauguration
    • United Stated
    • White House
    • Market Stories
    • Election Results
  • Science
  • Sports
  • Technology
    St. Francis Medical Center brings advanced robotic surgery technology to Northeast Louisiana – KNOE

    St. Francis Medical Center brings advanced robotic surgery technology to Northeast Louisiana – KNOE

    Wayve Expands Engineering Leadership to Power Next-Gen Autonomous Driving Technology – Silicon Canals

    Wayve Boosts Engineering Leadership to Accelerate Next-Gen Autonomous Driving Innovation

    Frontdoor Announces Tech Expert Dr. Bala Ganesh as Chief Technology Officer – Business Wire

    Frontdoor Appoints Tech Visionary Dr. Bala Ganesh as New Chief Technology Officer

    Defense technology giant Northrop Grumman to host interviews in Iuka to fill technician roles – supertalk.fm

    Defense technology giant Northrop Grumman to host interviews in Iuka to fill technician roles – supertalk.fm

    China’s Military Introduces Mosquito-Sized Drones: A Game-Changing Surveillance Technology – Indian Defence Review

    China Unveils Mosquito-Sized Drones: Revolutionizing Surveillance Technology

    Marvell Technology Stock Rallies After AI Event Sparks Investor Optimism – Yahoo Finance

    Marvell Technology Stock Rallies After AI Event Sparks Investor Optimism – Yahoo Finance

    Trending Tags

    • Nintendo Switch
    • CES 2017
    • Playstation 4 Pro
    • Mark Zuckerberg
No Result
View All Result
Earth-News
No Result
View All Result
Home Technology

Windows gets Linux’s sudo superpower: Here’s how to turn it on

July 26, 2024
in Technology
Windows gets Linux’s sudo superpower: Here’s how to turn it on
Share on FacebookShare on Twitter

The sudo command stands for “superuser do” and is one of the most important commands to know in Unix and Linux-based operating systems. (See the most important Linux commands for beginners.)

Sudo allows you to execute programs with the security rights of another user—usually the superuser or administrator/root—without having to acquire administrative rights for the entire system.

This is particularly useful for administrative tasks that require elevated privileges without you needing to constantly log on and off as an administrator or root user.

Now, this nifty command is also being introduced in Windows.

sudo-windows
sudo-windows

Thomas Joos

sudo-windows

Thomas Joos

Thomas Joos

The use of sudo increases overall system security in two ways: first, by reducing the need for you to log in with a full administrator account with unchecked privileges, and second, by creating detailed logs of all the commands used with sudo.

Typical examples of sudo usage involve the installation of software packages and the adjustment of security authorizations. Thanks to its fine-grained control and logging, sudo ensures that administrative tasks are carried out securely and traceably.

Sudo complements RunAs

Microsoft has recognized the advantages of sudo and is now bringing the command to Windows 11 systems with the Windows 11 version 24H2 update. It’s not yet clear whether Windows Server 2022/2025 will also receive sudo, but it’s unlikely.

Dubbed Sudo for Windows, the source code is available on Github.

If you’re on an administrator account, you already have administrative rights anyway so sudo is of little use. Plus, in Windows, there’s already the RunAs command, which lets you start a command in the command line using another user account.

However, RunAs is cumbersome and not as effective as sudo.

runas
runas

Thomas Joos

runas

Thomas Joos

Thomas Joos

The RunAs command is used in the format runas /user program, where the password of the specified user must be entered. For example, runas /user cmd starts the Command Prompt with administrator rights.

RunAs allows you (User A) to start a program in the user context of User B. In other words, User A can launch an application as if they were User B, and the respective application then runs completely in the context of User B, NOT in the context of User A with elevated rights.

In comparison, the sudo command offers similar functionality but with some differences in application and administration. For now, it isn’t possible with sudo to start a program as if you were someone else; sudo allows you to execute commands as superuser/administrator/root. (However, Microsoft is planning to add this functionality.)

While RunAs allows temporary elevation of permissions for a specific program or script, sudo provides more comprehensive and flexible control over permissions and logging. The sudo command also supports the delegation of specific commands without full administrator rights, allowing finer control of system administration.

Ultimately, sudo offers more options than RunAs. However, Microsoft has so far implemented very few of the functions available in the original sudo command in Windows, so Sudo for Windows currently has little in common with sudo in Linux.

Enabling sudo in Windows 11 version 24H2

Sudo isn’t enabled by default on all systems, which may or may not change in the future. While Sudo for Windows is pre-installed starting with Windows version 24H2, you’ll have to enable it yourself.

When you enter the sudo command on the command line, in the terminal, or in PowerShell, Windows 11 version 24H2 says that the command must first be activated:

sudo-aktivieren
sudo-aktivieren

Thomas Joos

sudo-aktivieren

Thomas Joos

Thomas Joos

In the Windows 11 settings, the corresponding option can be found under System> For developers at Enable Sudo. Before final activation, you must confirm via the User Account Control message.

sudo-aktivieren
sudo-aktivieren

Thomas Joos

sudo-aktivieren

Thomas Joos

Thomas Joos

You can also activate Sudo for Windows using the sudo command itself, where various options are available to you:

In a new window (forceNewWindow)

In the same window (normal)

Disable input (disableInput)

Deactivate sudo (disable)

Enable sudo (enable)

When starting sudo, you can already specify the configuration in which you want to use the tool, for example with:

sudo config –enable forceNewWindow (note the two dashes)

The option forceNewWindow is useful as it allows you to quickly recognize when a command with sudo runs with elevated rights.

You must run the activation once with administrator rights in Windows and confirm the User Account Control.

sudo-starten
sudo-starten

Thomas Joos

sudo-starten

Thomas Joos

Thomas Joos

After activation, you can start programs with Sudo, for example with:

sudo netstat -ab

This command will open in a new window (if you used the forceNewWindow option during activation).

This article originally appeared on our sister publication PC-WELT and was translated and localized from German.

>>> Read full article>>>
Copyright for syndicated content belongs to the linked Source : PCWorld – https://www.pcworld.com/article/2388945/windows-11-gets-the-sudo-command-from-linux-these-are-the-advantages.html

Tags: Linux’stechnologyWindows
Previous Post

Bill Arthur: Sky Sports rugby league commentator, who worked on every Super League Grand Final, dies aged 68 | Rugby League News | Sky Sports

Next Post

Watch this modder convert Windows 10 to Windows 7 in 17 minutes

Opinion: American Science Is in a Nosedive – and We’re All on Board – The Austin Chronicle

Opinion: American Science Is in a Nosedive – and We’re All on Board

June 27, 2025

Food contact articles as source of micro- and nanoplastics: a systematic evidence map | npj Science of Food – Nature

June 27, 2025
Michelle Dee is featured in Pride Month issue of digital lifestyle magazine – GMA Network

Michelle Dee is featured in Pride Month issue of digital lifestyle magazine – GMA Network

June 27, 2025
These are the best airlines of 2025 – and no US carrier made the list. Here’s why. – USA Today

These are the best airlines of 2025 – and no US carrier made the list. Here’s why. – USA Today

June 27, 2025
Britain’s industrial strategy is unlikely to boost its economy – The Economist

Britain’s industrial strategy is unlikely to boost its economy – The Economist

June 27, 2025
Ashley Jensen joins Superior Clinic to practice family medicine – Essentia Health

Ashley Jensen Joins Superior Clinic to Deliver Expert Family Medicine Care

June 27, 2025
Heads of state and political leaders gather at ‘Summer Davos’. Here’s what they are saying – The World Economic Forum

Heads of state and political leaders gather at ‘Summer Davos’. Here’s what they are saying – The World Economic Forum

June 27, 2025
St. Francis Medical Center brings advanced robotic surgery technology to Northeast Louisiana – KNOE

St. Francis Medical Center brings advanced robotic surgery technology to Northeast Louisiana – KNOE

June 27, 2025
NBA Draft 2025: Did the Hornets reach for Kon Knueppel? And why the Spurs did the right thing with Dylan Harper – Yahoo Sports

NBA Draft 2025: Did the Hornets Overreach for Kon Knueppel? Why the Spurs’ Pick of Dylan Harper Was a Brilliant Move

June 27, 2025
Fossil evidence of proboscidean frugivory and its lasting impact on South American ecosystems – Nature

Fossil evidence of proboscidean frugivory and its lasting impact on South American ecosystems – Nature

June 27, 2025

Categories

Archives

June 2025
MTWTFSS
 1
2345678
9101112131415
16171819202122
23242526272829
30 
« May    
Earth-News.info

The Earth News is an independent English-language daily published Website from all around the World News

Browse by Category

  • Business (20,132)
  • Ecology (699)
  • Economy (720)
  • Entertainment (21,613)
  • General (15,593)
  • Health (9,759)
  • Lifestyle (725)
  • News (22,149)
  • People (722)
  • Politics (727)
  • Science (15,937)
  • Sports (21,216)
  • Technology (15,704)
  • World (700)

Recent News

Opinion: American Science Is in a Nosedive – and We’re All on Board – The Austin Chronicle

Opinion: American Science Is in a Nosedive – and We’re All on Board

June 27, 2025

Food contact articles as source of micro- and nanoplastics: a systematic evidence map | npj Science of Food – Nature

June 27, 2025
  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

No Result
View All Result

© 2023 earth-news.info

Go to mobile version