Open-sourcing Sudo for Windows

Microsoft Developer · Beginner ·📰 AI News & Updates ·2y ago

Key Takeaways

Open-sourcing Sudo for Windows

Full Transcript

hey everyone I'm mikee greezy and today on open Microsoft we're going to talk about pseudo for Windows for those who don't know last build I open sourced pseudo for Windows so we're gonna have Jordy here and we're going to talk about what pseudo for Windows [Music] is hey Jordy how's it going I'm doing well how are you good I hear that we uh open sourced pseudo recently can you tell me a little bit more about that what what does that mean pseudo for Windows yeah so if you ever heard of pseudo we've basically kind of taken the same thing and introduced it to Windows and like you just said we open sourced it very recently I think about a week ago which is great um essentially it's a way for you to uh Elevate processes from an unelevated console so if you're familiar if you're in terminal when you run something um if you need it to be elevated a typical flow today before pseudo I guess would be let me go open a brand new terminal let me open it as elevated and then let me run something as admin so what we've done with pseudo is we've brought that familiar feel from other operating systems and we've introduced it to Windows and you can actually directly go ahead and uh Elevate things from your mid line so uh if you're taking a look at my terminal right now um if you've gone ahead and enabled this in the latest version of os uh you can go ahead and run pseudo so Mike should we should we try it out do a little example do for all right do it seems like the canonical pseudo example that I've seen is something to do with making sandwiches so let's run with that and that'll be our example here so here let me just point your focus we're in terminal right but we are unelevated fully unelevated uh and you'll see as much when I try to run this program this Nifty program I've created called make sandwich tells me okay this program needs to be run as administrator well typically what I'd have to do now is open a new terminal at least in my flow and I'd have to run that new terminal as admin and then get back to the context and then run make sandwich and it would it would run what we can do today if I spell it correctly is we can do pseudo make sandwich so I'm telling uh everyone or I'm telling I guess the process let's run elevated uh a UAC pops up which I'm not sure if you're able to see that UAC but I just clicked yes to the UAC the typical flow for admin elevation right uh and now you can see these pretty sandwiches are getting printed to the console um which is a great terminal feature as well with the ner font I've got so that is the inline configuration there's multiple configurations for pseudo let me just show that to you and we can do this in inline mode so inline mode is kind of what folks are familiar with from operating systems right where you elevate something um and it goes into multiple modes but we have three different configurations and you can choose which of those configurations you want so right now I'm running in inline mode and you'll see everything shows up in the same window from where I launched pseudo cool great so it's it's just pseudo for Windows yeah pretty much if you want to go ahead and change the configuration options you can do that from the settings but you can also do it in line and it's actually kind of a neat trick that I like to do so again pseudo config uh will tell you what mode you're in but you can actually enable other modes and so I think if I do double pseudo yeah there we go I can either disable it which I don't want to do that um but I do want to enable it maybe in a different mode um and I think you know this might this may or this may not work let's see what happens if I click new window I'm getting a UAC which I don't think you see as again but okay so invalid value ah live demo that's okay I put in the wrong thing it's Force new window so if I just go in take what I did before for and just do Force new window now it should there we go amazing and I click yes and now it'll tell me that I'm in force new Window mode since I'm just sharing this one window I won't Elevate like this but you'd imagine those sandwiches that we saw those would show up in a new window in that configuration so that might be more similar to um run as for example got it well this is fantastic so now it's open source and we can just go look get that yes so we have an awesome GitHub repository and you should be able to check out the code which is great A few months ago we introduced the GitHub repo right and we had a lot of excitement lots of folks going there but we hadn't actually added the source code uh and then live at build on stage um you actually open sourced it which was very fun um and so we have added the source code and you can now check out our repository and um definitely feel free to make any contribution ions and write up any future requests things that you might want to see any improvements that uh we can bring to you with pseudo to really help you stay in the flow because this is something we introduced to help developers stay in the flow it's something that uh has been asked for for a really long time and so now we have a platform as well right where we can more easily hear the things that people want to add to pseudo uh and we can go ahead and prioritize that so I see right now you're you're looking through the code and you're a bit more familiar with it than than I am but there it is right and this is essentially what I was running uh and you can see all the things that we're doing under the hood which is pretty cool oh yeah and it's all in Rust which is pretty cool that a part of Windows is written in Rust yes that is very cool uh there's been lots of comments about that I'm very excited about it I honestly am not very familiar with rust so this is my first project where I am now GNA be looking into R which is very exciting well this is super cool Jordy yeah thank you so much is there anything else we want from the community no just go ahead and check out Pudo let us know how it works for you um we'd love to get your feedback and any feature requests any contributions we're very active on the repository on GitHub so that's all we got awesome thanks for taking this time Jordy awesome thanks Mike see you around see you

Original Description

During the last Microsoft Build event, Mike made Sudo for Windows open-source while live on stage. In this epsiode, learn what this newest open-source component of Windows, and how YOU the community can help and contribute to the project. Chapters: 00:00 - Introduction 00:30 - Why should I care about Sudo 03:57 - It's open source now Resources: Find the latest info about the open-source Sudo for Windows project available at: https://github.com/microsoft/sudo 📌 Let's connect: Mike Griese | https://mastodon.social/@zadjii Jordie Adoumie | https://www.linkedin.com/in/jordi-adoumie 📝Submit Your OSS Project for Open at Microsoft https://aka.ms/OpenAtMsCFP Subscribe to the Open at Microsoft: https://aka.ms/OpenAtMicrosoft Open at Microsoft Playlist: https://aka.ms/OpenAtMicrosoftPlaylist New episode every Tuesday!
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Microsoft Developer · Microsoft Developer · 0 of 60

← Previous Next →
1 Prepare for the DP-300 exam & the Azure Database Administrator Associate cert | Data Exposed
Prepare for the DP-300 exam & the Azure Database Administrator Associate cert | Data Exposed
Microsoft Developer
2 What I Wish I Knew ... about landing a job in tech
What I Wish I Knew ... about landing a job in tech
Microsoft Developer
3 Igniting Developer Innovation with Vector Search
Igniting Developer Innovation with Vector Search
Microsoft Developer
4 Combining the power of vector search with Azure OpenAI then revolutionize image search with vectors!
Combining the power of vector search with Azure OpenAI then revolutionize image search with vectors!
Microsoft Developer
5 What I Wish I Knew ... about finding your place in tech
What I Wish I Knew ... about finding your place in tech
Microsoft Developer
6 Fluent UI React Insights: Accessible by default
Fluent UI React Insights: Accessible by default
Microsoft Developer
7 Signing Container Images with Notary Project
Signing Container Images with Notary Project
Microsoft Developer
8 What I Wish I Knew ... about finding your place in tech
What I Wish I Knew ... about finding your place in tech
Microsoft Developer
9 What programming languages does GitHub Copilot support?
What programming languages does GitHub Copilot support?
Microsoft Developer
10 What I Wish I Knew ... about how much your job can change
What I Wish I Knew ... about how much your job can change
Microsoft Developer
11 What I Wish I Knew ... about how much your job can change
What I Wish I Knew ... about how much your job can change
Microsoft Developer
12 How do I become more confident about AI?
How do I become more confident about AI?
Microsoft Developer
13 How do I become more confident about AI?
How do I become more confident about AI?
Microsoft Developer
14 Performance Demos of SQL’s Intelligent Query Processing Feedback capabilities | Data Exposed
Performance Demos of SQL’s Intelligent Query Processing Feedback capabilities | Data Exposed
Microsoft Developer
15 What I Wish I Knew ... about coming to Microsoft
What I Wish I Knew ... about coming to Microsoft
Microsoft Developer
16 What I Wish I Knew ... about coming to Microsoft
What I Wish I Knew ... about coming to Microsoft
Microsoft Developer
17 Revolutionizing Image Search with Vectors
Revolutionizing Image Search with Vectors
Microsoft Developer
18 Igniting developer innovation with Vector search and Azure OpenAI
Igniting developer innovation with Vector search and Azure OpenAI
Microsoft Developer
19 Getting Started with Azure AI Studio's Prompt Flow - Part 2
Getting Started with Azure AI Studio's Prompt Flow - Part 2
Microsoft Developer
20 What I Wish I Knew ... about finding my career path
What I Wish I Knew ... about finding my career path
Microsoft Developer
21 What I Wish I Knew ... about finding my career path
What I Wish I Knew ... about finding my career path
Microsoft Developer
22 Windows Terminal's journey to Open Source
Windows Terminal's journey to Open Source
Microsoft Developer
23 Can I trust the code that GitHub Copilot generates?
Can I trust the code that GitHub Copilot generates?
Microsoft Developer
24 What I Wish I Knew ... about interviewing
What I Wish I Knew ... about interviewing
Microsoft Developer
25 What I Wish I Knew ... about interviewing
What I Wish I Knew ... about interviewing
Microsoft Developer
26 What is the Microsoft TechSpark Program?
What is the Microsoft TechSpark Program?
Microsoft Developer
27 SQL Server 2022: Accelerate query performance while reducing query compile time - w/ no code changes
SQL Server 2022: Accelerate query performance while reducing query compile time - w/ no code changes
Microsoft Developer
28 What I Wish I Knew ... about discovering computer science
What I Wish I Knew ... about discovering computer science
Microsoft Developer
29 What I Wish I Knew ... about discovering computer science
What I Wish I Knew ... about discovering computer science
Microsoft Developer
30 Call center transcription and analysis using Azure AI
Call center transcription and analysis using Azure AI
Microsoft Developer
31 How to use Text Analytics for health in Azure AI Language
How to use Text Analytics for health in Azure AI Language
Microsoft Developer
32 Azure OpenAI-powered summarization in Azure AI Language
Azure OpenAI-powered summarization in Azure AI Language
Microsoft Developer
33 Accelerate data labeling using Azure OpenAI and Azure AI Language
Accelerate data labeling using Azure OpenAI and Azure AI Language
Microsoft Developer
34 Building a Private ChatGPT with Azure OpenAI
Building a Private ChatGPT with Azure OpenAI
Microsoft Developer
35 What I Wish I Knew ... about how to interview
What I Wish I Knew ... about how to interview
Microsoft Developer
36 What I Wish I Knew ... about how to interview
What I Wish I Knew ... about how to interview
Microsoft Developer
37 Getting Started with Azure AI Studio's Prompt Flow - Part 3
Getting Started with Azure AI Studio's Prompt Flow - Part 3
Microsoft Developer
38 Intelligent Apps with Azure Kubernetes Service (AKS)
Intelligent Apps with Azure Kubernetes Service (AKS)
Microsoft Developer
39 Getting Started with Azure Blob Storage | Data Exposed: MVP Edition
Getting Started with Azure Blob Storage | Data Exposed: MVP Edition
Microsoft Developer
40 Chat + Your Data + Plugins
Chat + Your Data + Plugins
Microsoft Developer
41 What I Wish I Knew ... about different career paths
What I Wish I Knew ... about different career paths
Microsoft Developer
42 What I Wish I Knew ... about different career paths
What I Wish I Knew ... about different career paths
Microsoft Developer
43 Advanced Dev Tunnels Features | OD122
Advanced Dev Tunnels Features | OD122
Microsoft Developer
44 Learn Live - Manage performance and availability in Azure Cosmos DB for PostgreSQL
Learn Live - Manage performance and availability in Azure Cosmos DB for PostgreSQL
Microsoft Developer
45 Plan your SQL Migration to Azure with confidence | Data Exposed
Plan your SQL Migration to Azure with confidence | Data Exposed
Microsoft Developer
46 What I Wish I Knew ... about social skills in a tech career
What I Wish I Knew ... about social skills in a tech career
Microsoft Developer
47 What I Wish I Knew ... about social skills in a tech career
What I Wish I Knew ... about social skills in a tech career
Microsoft Developer
48 All About Vectors, Search, and Function Calling in Azure OpenAI - Labor Day Special
All About Vectors, Search, and Function Calling in Azure OpenAI - Labor Day Special
Microsoft Developer
49 Introduction to project ORAS
Introduction to project ORAS
Microsoft Developer
50 What I Wish I Knew ... about finding the right major
What I Wish I Knew ... about finding the right major
Microsoft Developer
51 What I Wish I Knew ... about finding the right major
What I Wish I Knew ... about finding the right major
Microsoft Developer
52 What I Wish I Knew ... about how to approach programming
What I Wish I Knew ... about how to approach programming
Microsoft Developer
53 What I Wish I Knew ... about how to approach programming
What I Wish I Knew ... about how to approach programming
Microsoft Developer
54 Learn Live - Scale from a single node to multiple nodes with Azure Cosmos DB for PostgreSQL
Learn Live - Scale from a single node to multiple nodes with Azure Cosmos DB for PostgreSQL
Microsoft Developer
55 What I Wish I Knew ... about diversity in tech #1
What I Wish I Knew ... about diversity in tech #1
Microsoft Developer
56 What I Wish I Knew ... about diversity in tech #1
What I Wish I Knew ... about diversity in tech #1
Microsoft Developer
57 Get started with SQL Server AGs across Windows, Linux and Container Replicas | Data Exposed
Get started with SQL Server AGs across Windows, Linux and Container Replicas | Data Exposed
Microsoft Developer
58 Writing LLM Apps with Azure AI and PromptFlow
Writing LLM Apps with Azure AI and PromptFlow
Microsoft Developer
59 What I Wish I Knew ... about how cool working in tech could be
What I Wish I Knew ... about how cool working in tech could be
Microsoft Developer
60 Open Source foundation models in Azure Machine Learning & optimization techniques behind the scenes
Open Source foundation models in Azure Machine Learning & optimization techniques behind the scenes
Microsoft Developer

Related Reads

📰
IMF says Africa has to keep lights on before it can bet on AI
Africa's AI ambitions are hindered by unreliable electricity, highlighting the need for basic infrastructure before investing in AI
TechCabal
📰
What Does Job Security Even Look Like In 2026? It Starts With Skills
Job security in 2026 requires adapting to AI and economic uncertainty by acquiring in-demand skills
Forbes Innovation
📰
Artificial Intelligence Isn’t Replacing Humans — It’s Changing the Way We Think and Work
Discover how AI is transforming the way we think and work, and why it's not replacing humans, but rather augmenting our capabilities
Medium · Machine Learning
📰
Artificial Intelligence Isn’t Replacing Humans — It’s Changing the Way We Think and Work
Discover how AI is transforming the way we think and work, and why it's not replacing humans, but rather augmenting our capabilities
Medium · Programming

Chapters (3)

Introduction
0:30 Why should I care about Sudo
3:57 It's open source now
Up next
Catch Me Live on Earn Your Leisure Talking AI
Alicia Lyttle
Watch →