Sudo command comes to Windows 11

Sudo command comes to Windows 11

Windows 11 is getting native support for the Sudo command, similar to sudo in macOS or Linux

One of the most anticipated features of Windows 11 is the native support for the Sudo command, which allows users to execute commands with elevated privileges. Sudo, which stands for “superuser do”, is a common tool in Unix-like operating systems such as macOS and Linux, where it enables users to run programs as another user, typically the administrator or root.

The Sudo command has many benefits for Windows 11 users, such as:

  • Enhanced security: The Sudo command can help prevent malicious programs from gaining unauthorized access to system resources or files. Users can also limit the scope of Sudo command by specifying which commands can be executed with elevated privileges and by whom.
  • Improved productivity: The Sudo command can simplify the workflow of users who need to perform administrative tasks on their Windows 11 devices. Instead of switching to a different account or using a separate terminal, users can simply prefix their commands with Sudo and enter their password when prompted.
  • Increased compatibility: The Sudo command can make it easier for users who are familiar with Unix-like operating systems to transition to Windows 11. Users can use the same syntax and commands that they are used to in macOS or Linux, without having to learn new tools or methods.

How to use the Sudo command in Windows 11

To use Sudo command in Windows 11, users need to enable the Windows Subsystem for Linux (WSL), which is a feature that allows users to run Linux applications and tools on Windows. WSL can be enabled from the Settings app, under Apps > Optional features > Add a feature. Users can then choose from a variety of Linux distributions available in the Microsoft Store, such as Ubuntu, Debian, or Fedora.

Once WSL is enabled and a Linux distribution is installed, users can open a Linux terminal from the Start menu or by typing “wsl” in the Run dialog box. From there, users can use Sudo command as they would in any Unix-like operating system. For example, to update the system packages, users can type:

sudo apt update

To create a new file in the root directory, users can type:

sudo touch /newfile.txt

To edit the file with a text editor such as nano, users can type:

sudo nano /newfile.txt

Users can also use Sudo command to run Windows applications with elevated privileges. For example, to launch Notepad as an administrator, users can type:

sudo /mnt/c/Windows/System32/notepad.exe

Users will be asked to enter their password before executing any Sudo command. The password is the same as the one used for their Windows account. Users can also configure Sudo command to remember their password for a certain period of time or to not require a password at all. However, these options are not recommended for security reasons.

Conclusion

Sudo command is a powerful and versatile tool that can enhance the experience of Windows 11 users who need to perform administrative tasks or who are familiar with Unix-like operating systems. By enabling WSL and installing a Linux distribution, users can access Sudo command from a Linux terminal and use it to run commands with elevated privileges. Sudo command can help improve security, productivity, and compatibility for Windows 11 users.

Microsoft releases Edge preview build for Linux, supports Ubuntu, Debian, Fedora, openSUSE

Microsoft releases Edge preview build for Linux, supports Ubuntu, Debian, Fedora, openSUSE

Microsoft Edge Linux preview build

Microsoft is announcing the release of the Microsoft Edge Dev Insider channel for Linux. The Microsoft Edge Linux preview build will support Ubuntu, Debian, Fedora, and OpenSUSE distributions.

The company announced it was bringing Microsoft Edge to Linux in May at Microsoft Build.

With this release, Microsoft is looking at two Linux customer categories. The Linux enthusiasts asking for Microsoft Edge and web developers for test automation.

This is to provide a representative experience for developers who want to build and test their sites and apps on Linux, notes Kyle Pflug, Microsoft Principal Program Manager Lead, Developer Experiences.

We’re particularly excited to offer web developers the same consistent and powerful web platform and developer tools. As on macOS or Windows, so you can build and test in your preferred environment and be confident in the experience your customers will have on other devices.

[jetpack_subscription_form show_subscribers_total=”true” button_on_newline=”false” custom_font_size=”16″ custom_border_radius=”0″ custom_border_weight=”1″ custom_padding=”15″ custom_spacing=”10″ submit_button_classes=”” email_field_classes=”” show_only_email_and_button=”true”]

You can download the Microsoft Edge Linux preview build for your repository from the Microsoft Edge Insider site. Or install it directly from the Microsoft Linux Software Repository.

Watch Microsoft Program Manager, Sean Larkin, talk about the availability of the Microsoft Edge Dev Channel for Linux.

Linux fan? Are you excited about this announcement? Share your thoughts with us in the comments.

Red Hat OpenShift is coming to Microsoft Middle East and Africa Datacenters

Red Hat OpenShift is coming to Microsoft Middle East and Africa Datacenters

Red Hat’s OpenShift will soon be live in Microsoft’s Azure datacenters located in the Africa and Middle East region. Azure customers will be able to use the container platform as a cloud service to deliver enterprise-grade hybrid cloud solutions.

Riedwaan Bassadien, Microsoft Senior Cloud Data and AI Specialist made the announcement. Speaking to developers at the Open Cloud Summit held in Johannesburg and hosted by Microsoft and Linux. He noted Openshift on Azure will be live in the South Africa datacenter.

The geographical availability slide he shared showed the service will also be available in Microsoft datacenters located in Abu Dhabi.

[jetpack_subscription_form show_only_email_and_button=”true” custom_background_button_color=”undefined” custom_text_button_color=”undefined” submit_button_text=”Subscribe to get the latest updates from the Microsoft Middle East and Africa community ” submit_button_classes=”undefined” show_subscribers_total=”true” ]

Join Microsoft Middle East and Africa for an SQL vNext Launch and Ask the Expert Session

Join Microsoft Middle East and Africa for an SQL vNext Launch and Ask the Expert Session

Learn about SQL vNext as the Microsoft Middle East and Africa team hosts an interactive webinar to highlight and answer questions.

VNext

SQL vNext is currently in preview or early adoption mode. This event provides an opportunity to get to see what’s new in the data platform and how you can use it to maximise productivity.

Here’s how the invitation puts it;

One of the most powerful resources in this customer-centric world is data. However, when data is combined with analytics and artificial intelligence to fetch actionable insights, that is when we could realize its true potential.

We are excited about the launch of SQL vNext, which incorporates the data platform with advanced machine learning capabilities to deliver the real value of data.

Join us for this exclusive[[DM]] interactive session to:
Hear from Microsoft experts on What’s new with SQL vNext and what it means for you
Ask questions on the matter
Take advantage of the opportunity to Request an individual deep-dive session
We look forward to having you with us for this one of a kind Session.

Taking a step back vNext is going to be a big deal, bringing us new features such as support for running SQL Server on Linux (Red Hat, SUSE, and Ubuntu) and Docker containers, adaptive query processing, SQL graph, improvements to R Services, Analysis Services, Reporting Services, and Integration Services. – Arun Sirpal

 

Register to join the event here.

Also if you are interested in signing up to be an early adopter or want to trial it out click here to find out more about the program.