VOOZH about

URL: https://thenewstack.io/sudo-update-offers-python-plug-ins-extended-logging-auditing/

⇱ Sudo Update Offers Python Plug-Ins, Extended Logging, Auditing - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2020-05-13 10:11:52
Sudo Update Offers Python Plug-Ins, Extended Logging, Auditing
news,
Security / Software Development

Sudo Update Offers Python Plug-Ins, Extended Logging, Auditing

This week sees the release of Sudo 1.9, which offers a number of enhancements around centralized logging, auditing and command approval, as well as the ability to write third-party Sudo plugins in Python rather than C.
May 13th, 2020 10:11am by Mike Melanson
👁 Featued image for: Sudo Update Offers Python Plug-Ins, Extended Logging, Auditing

Originally shorthand for “superuser do,” Sudo is a command familiar to anyone who has spent any time using a Linux or Unix-based operating system, but these days the project originally developed more than 40 years ago at State University of New York Buffalo is far more than a way to run a command as the root user. Another explanation offered for the portmanteau comes as “substitute user do,” which more closely describes the project’s modern functionality, although even there it falls short.

For the past 25 years, Todd Miller has been the maintainer for the Sudo project, which has been sponsored for the last decade by his employer One Identity, which, according to the project’s history page, “enabled the addition of I/O logging, the plugin interface, additional regression tests, support for binary packages and more regular releases.”

When Miller took over as maintainer, Sudo was version 1.3, and this week sees the release of Sudo 1.9, which offers a number of enhancements around centralized logging, auditing and command approval, as well as the ability to write third-party Sudo plugins in Python rather than C.

As hinted at by the improvements offered in the latest version of Sudo, the project does far more than simply allow single-user Linux operators to install a package or delete a file they might otherwise be unable to delete. Instead, Miller said, Sudo has long been used by enterprises and other large organizations “to give more fine-grain control and have control over who’s allowed to do what and with which privileges.” In fact, beyond the open source Sudo project, One Identity also offers a commercial project, the Privilege Manager for Sudo, which is a part of the company’s broader  Privileged Access Suite for Unix and identity access management (IAM) offerings.

Looking at Sudo 1.9, Miller explained that one of the primary features involved centralized logging, which extends a feature introduced in Sudo 1.8 that would log keystrokes and related output, by including a log server that can be used to consolidate and simplify logging. Sudo 1.9 also introduces just-in-time command approval, which gives administrators the option to enable just-in-time authorizations for Sudo commands, and rich auditing, which allows third-party software providers to use the audit plugin to write a third-party plugin to pull detailed data from Sudo sessions.

Beyond these features, however, Tyler Reese, a senior product engineer at One Identity, said that the addition of Python as a supported language for Sudo plug-ins was really a key focus.

“I always tease that Todd lives and breathes in C, but most of the IT people that are playing with this don’t. I think that it really democratizes the ability to write plugins when we move it to Python, because that’s just the language of choice for the IT analyst and the security analyst user personas,” said Reese.

Up until now, Reese said, the number of plugins written for Sudo could be counted on one hand, though he said that the payment app Square was among them, having written a Sudo plugin in Rust to help it meet its various compliance requirements. In the future, Reese said, One Identity hopes to become a centralized hub of new plugins for Sudo, which he expects to grow with the introduction of Python support. One example of a plugin, Reese offered, was using biometric analysis of a user’s typing via a Sudo plugin to determine if someone has physically hijacked their workstation, though, more commonly, a plugin might simply offer a connection to some logging or ticketing software.

Looking ahead, Reese said that One Identity will be taking further advantage of this plugin architecture, with an integration with its Safeguard for Privileged Analytics product, wherein the next three to four months a Sudo user will be able to “send their Sudo audit data to our centralized audit product, and then we’ll be able to give them a really nice dashboard of the different audit logs, the different users, what they’re doing, and be able to add behavioral analytics against that.”

TRENDING STORIES
Mike is a freelance writer, editor, and all-around techie wordsmith. Mike has written for publications such as ReadWriteWeb, Venturebeat, and ProgrammableWeb. His first computer was a "portable" suitcase Compaq and he remembers 1200 baud quite clearly.
Read more from Mike Melanson
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.