PlanetLab creates a more advanced sudo

Admins at the PlanetLab global research network release an advanced access control program

Researchers at the PlanetLab global research network have developed a potential replacement for the widely used Unix sudo tool, called Vsys, that will offer administrators far greater control over what end users can and can't access.

"Vsys is a tool for restricting access to privileged operations," said Princeton University's PlanetLab researcher Sapan Bhatia, who introduced the technology at the Usenix conference held last week in Portland, Oregon.

"The rapport between sudo and Vsys is like the rapport between assembly language and C, in the sense you can do everything with the former that you can with the latter," Bhatia said. However, "Vsys contains a bunch of convenience mechanisms that if you [needed them] on a continual basis, you would have either used Vsys, or you'd end up developing something like Vsys."

Sudo is a widely used Unix and Linux command line-based tool that can restrict what operations a user can perform on a computer. Typically it is used by system administrators to grant users elevated privileges to some advanced level of functionality on a computer without granting them absolute, "root" privileges for the machine. Also, as an alternative to logging in as root, sudo helps administrators themselves be more cognizant of undertaking potentially harmful actions.

Vsys is similar to sudo, except it offers finer-grained access to system resources. "Users sometimes make demands for features and resources not directly supported by the default security model," Bhatia said. "They might want files they don't have visibility into, or they might want to run commands you wouldn't allow ordinary users to run."

PlanetLab created Vsys as a way to allow its researchers to access low-level network functionality so they could develop new network technologies -- overlay networks, user-level file systems, virtual switches -- while their experimental work remained safely isolated from other users.

Vsys is actually built using a number of other Unix tools, most notably Ptrace, a process tracer, and chroot, which defines a user's root file system.

With Vsys, administrators can create scripts, called extensions, that can carefully detail which user actions are permissible. Extensions can be written in any programming language. The extensions are executable files.

In the paper accompanying the presentation, the developers described how Vsys differs from other advanced sudo alternatives, such as SUS and ssu.

"In contrast to these tools and their variants, the goal of Vsys goes beyond defining ACLs [access control lists] for privileged commands. Vsys is meant to facilitate the composition of existing tools to build isolated operations," the paper states.

Although it probably wouldn't replace sudo for the casual user, Vsys would be more appropriate for data center administrators, noted Eddie Kohler, who chaired the group of presentations in which Bhatia participated. A savvy administrator could probably script all the functionality needed to replicate Vsys with a combination of sudo and other Unix tools, though it would be a lot more work than just using Vsys.

Headquartered at Princeton University, PlanetLab is a global research network that connects multiple academic, industrial and government institutions.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags Linuxoperating systemsunixsoftwareUtilitiesUSENIXnon-WindowsPrinceton University

Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Joab Jackson

IDG News Service
Show Comments

Cool Tech

Toys for Boys

Family Friendly

Stocking Stuffer

SmartLens - Clip on Phone Camera Lens Set of 3

Learn more >

Christmas Gift Guide

Click for more ›

Brand Post

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Aysha Strobbe

Microsoft Office 365/HP Spectre x360

Microsoft Office continues to make a student’s life that little bit easier by offering reliable, easy to use, time-saving functionality, while continuing to develop new features that further enhance what is already a formidable collection of applications

Michael Hargreaves

Microsoft Office 365/Dell XPS 15 2-in-1

I’d recommend a Dell XPS 15 2-in-1 and the new Windows 10 to anyone who needs to get serious work done (before you kick back on your couch with your favourite Netflix show.)

Maryellen Rose George

Brother PT-P750W

It’s useful for office tasks as well as pragmatic labelling of equipment and storage – just don’t get too excited and label everything in sight!

Cathy Giles

Brother MFC-L8900CDW

The Brother MFC-L8900CDW is an absolute stand out. I struggle to fault it.

Luke Hill

MSI GT75 TITAN

I need power and lots of it. As a Front End Web developer anything less just won’t cut it which is why the MSI GT75 is an outstanding laptop for me. It’s a sleek and futuristic looking, high quality, beast that has a touch of sci-fi flare about it.

Emily Tyson

MSI GE63 Raider

If you’re looking to invest in your next work horse laptop for work or home use, you can’t go wrong with the MSI GE63.

Featured Content

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?