PlanetLab Creates a More Advanced Sudo
angry tapir writes "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 similar to sudo, except it offers finer-grained access to system resources. 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."
Will this mean they'll need to update the xkcd shirts?
Vsys sudo rm -rf /
I'd rather use su.
sudo already does everything (and more!) I could possibly need it to.
I'm certainly not against choice, just pointing out that it won't mean much for me.
And as the AC above me has already said; 'vsys make me a sandwich' just doesn't sound right.
Real users always have few terminals open as root.
I've used sudo once in my life - and that was on someone else's crapuntu box - "sudo sh."
Silly rabbit, sudo is for kids.
Most admins ignore sudo's existing granularity, so why would they want an even more granular system? I'm not saying this new system has no uses -- clearly it does or no one would have built it -- but it's ridiculous to claim that it's likely to replace sudo in common usage when 75+% of admins have never changed the the default sudoers file, let alone wanted more even more granular control.
Sounds similar to SELinux's TE and RBAC. But it would be awesome if they're easier to work with.
The heaping myriad of security tools and controls is already beyond what anybody can properly utilize, by a huge margin.
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.
I'm sure it's flexible, but wouldn't executable configuration be a potential source of programming errors, and thus an additional attack vector? If the extension is done correctly I assume all is well, but how do you make sure it is? Or are you better off using SELinux? (Which isn't user friendly either, but at least paranoid...)
.: Max Romantschuk
Is it just me, or does the article just sound really confused?
I mean, sudo has little to do with user permissions or anything like that - the mnemonic is "sub user and do". It tries to change the current user to the user specified in the command line (and uses root if none is specified), and executes the command it's given. That's it. That's all it does. It doesn't have anything to do with "fine grained permissions", that sort of thing should be handled at the OS level.
It's not a sudo replacement, it's something that changes the OS security model and probably has some other junk. Even with this thing installed, sudo will still sub user and do.
We need to protect users from buggy install scripts that execute rm -rf /usr.
Solaris (and other RBAC's) allow you to remove root and have very fine-grained controls over who does what and where even in virtual machines (containers). This problem has already been solved before many, many times so I doubt there is a need for yet another system. Even sudo itself allows for very fine grained controls.
Custom electronics and digital signage for your business: www.evcircuits.com
Im not a huge Solaris fan. But, isn't this similar to Solaris RBAC?
Not trolling. Just fed up with sudo. For a single user system, why not have the option of just plain not installing it by default? I mean, its my system. I'm going to perform all root operations on it. Why do I have to be inconvenienced by this annoying application?
The game.
If distro's/admin's adopt it or not is another question altogether. For most, the basic tools of: "su -c 'make install'" or "sudo" do all the needed things. On a well built system, why would the (non-sysadmin) user need root access for anything? Most businesses do not allow non-IT staff to install software or change anything more than the wallpaper. You usally need to make a request to IT to have something special done on your machine anyway. It's generally a good setup that way.
is wildcards in usernames. For example, i have multiple users that i have named 'test-user1', 'test-user2', etc. Now if i want to give them sudo access for a certain set of commands, i would either have to create an entry for each user in sudoers, or place them all in a group and put that in the sudoers file. Both are not quite optimal as it requires me to maintain the sudoers file manually (i want it to be dynamic) or maintain a separate group on posix level.
What would be nice is if sudo would allow me to create a test-* entry. Maybe vsys can do that. Although that's the only missing feature of sudo i would actually need. For the rest, sudo suits my needs just fine.
And here all this time I always thought sodu's more advanced replacement was su
...I assume crap. Why? There are plenty systems to get finer grained rights, e.g. acl. Problem is, most developers or administrators are unable to cope with even the most simple owner/group/other access controls. Make it more flexible and powerful and you get that much more security risks that the advantages by far outweigh the problems.
I don't see why you cannot properly scale Sudo via LDAP: http://www.gratisoft.us/sudo/man/1.8.1/sudoers.ldap.man.html I also believe some of the functionality described by the article can be achieved via the Plugin API introduced in Sudo 1.8.1: http://www.gratisoft.us/sudo/man/1.8.1/sudo_plugin.man.html
One "admin" password for everything is possibly not enough,
What I want is a separate password for the various layers of the System.
e.g
1 to do things to the kernel and above,
2 to stop/start/load/unload/configure driver modules or do operations on drivers
3 to install/remove apps
4 user security for the rest.
So I don't have to give the admin/root password to install an app I just downloaded, or load a potentially flaky new driver
...yawn.
It must have been something you assimilated. . . .
Groups should be defined in one place to avoid confusion. /etc/group is the place for that.
You have no idea how annoying it is if you have to admin a box that has had some system admin try and reinvent the wheel and not document it thoroughly. I do consultancy for a quite a while and just finding out what people have done while a distro/OS provides proper tools for something, is a large part of dealing with emergencies while production systems are down. It may sound like a sure way to be replaced, but please think of the poor sod replacing you when you've moved on to greener pastures. Either use the tools the way they were intended, or document everything you're doing like you're passing on to a novice.
I was promised a flying car. Where is my flying car?
Now somebody just needs to find the buggy buffers and write a few exploits. Nothing like the 20 year-long beta to get critical OS components to a state where sudo is now in *BSD/Linux.
Light (couldn't think of a better one)! It is my understanding that sudo is a setuid binary and that being true makes it one of the most dangerous code bases on a system. The more 'fine-grained' you get the more of an attack surface you expose just by the difference in code size. Sudo has already its share of vulnerabilities with the size that it is. KEEP IT SIMPLE STUPID!
The problem with the Unix security model is that it is designed to protect users against other malicious users. It does this by allowing each user to trash his own space, but not anyone else's space. But in modern computing environments, there is usually only one user, and sometimes less, and the challenge is to protect the computer against malicious programs. So, letting every program trash the one user's space isn't really that useful.
Of course the Unix security model can be adapted to protect against malicious programs. But in practice it is so difficult that no one bothers to try.
It appears to me, after a brief scan of TFA, that vsys just provides finer granularity without addressing the fact that the security model is fundamentally broken.
We need a model that makes it natural and easy to run every program in its own sandbox.
http://xkcd.com/756//
This solves a problem that probably exists nowhere outside PlanetLab: trying to segregate users who are trying to build experimental networks. Now, you might ask, why not just buy a different computer for each experimenter? And indeed that is what I would do, except, these experimenters are trying to experiment on clusters.
So they are trying to segregate the capabilities of various users over many nodes in a cluster, whom they rent time to in a shared system. So there you have it. If you are trying to rent time in a shared cluster to network researchers, this is the tool for you!!
You don't do that. Building experimental networks should be confined to virtual interfaces as long as possible. Just like giving kernel module writers access to a live and shared system. There is no problem handing over virtual networks to other people. There are so many proven methods we really don't need a new program. I think many people should learn what is already possible for years before writing new stuff. Would also help finding regressions in the linux userland. People shouldn't think they are the only ones with a certain problem. They should look how people did it before.
What? You have a cheese burger now? Fine, Thank you. I am happy with my sandwich. (I see sudo wagging it's tail)
Senthil
su-su-sudIO!
Does that make me a bad person?
what will be next? SCO raises from the approxmately twenty times dead and threatens to sue Linux users?
Oh, the beautiful gloss of greality!
People hardly ever use the fine grained security in sudo anyway.
http://michaelsmith.id.au
Sounds like RACF (Resource Access Control Facility) for mainframe operating systems (zOS and zVM). It's been around for 40+ years.
Folks,
Does no one remember 2007? Bob Watson presented a paper on exploiting concurrency to break all kinds of things like systrace back then, complete with example code. Vsys is the same kind of thing -- it has processes executing in an outside space where you can have a race condition and force the parameters to change after the clearance check but before it actually does the work. See:
http://www.watson.org/~robert/2007woot/
--Paul
Just create LXC + CGroups....
Does it mean that new tool will save me from doing 'sudo rm / -rf' ??
Sudo works.
More complexity breeds less security, so why do it?
This is like upstart coming along vs. sysv. Damn, I hate managing my ubuntu laptop and my phone.
OK, let's see here.
Sudo is simple, free, and ubiquitous. You can install, configure, and use it in a matter of minutes. It does what it's supposed to do, and doesn't get in the way. The need for something more powerful or fine-grained is just not there, generally speaking. If it were, then any of the other tools (RBAC, PowerBroker, etc.) would have taken hold and displaced sudo. They haven't.
This is like extended ACLs in Unix - a solution to a problem that isn't actually a problem for most people, and has already been solved.
"People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
In case other people had as much trouble as I did finding the package: www.cs.princeton.edu/~sapanb/vsys [Download Vsys] http://git.planet-lab.org/?p=vsys.git;a=summary [git repository] ...also, interestingly, Vsys is not written in C, but Ocaml, which is a solid type-safe programming language. This is reassuring from the security standpoint given that it is a recent package.
I already spend more effort than I like ripping out useless security features. Every project has a virtual machine, or several, and they are isolated from each other. I don't need outdated security features that just get in the way. As it is I'd be more interested in a Linux distro that came with all that crap removed. It's been years since I used groups on a production server, I never found ACLs useful, I usually disable firewalls, filesystem permissions are a hassle far more often than they are useful, etc. Heck, the only time a real person logs into most of my systems is when something goes wrong with permissions or some other protection feature and causes a problem.
Make sure the virtualization servers are up to providing proper security between instances and from the network and then scrap all that stuff in the guest OS.
At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
Everyone now knows what U trolltalk.com jokes do around here tomhudson:
http://www.google.com/search?hl=en&source=hp&q=tomhudson+site%3A+trolltalk.com&btnG=Google+Search
In upward moderating yourselves in packs, and downmoderating others.
Proof of that is here:
http://slashdot.org/comments.pl?sid=2245866&cid=36491652
And yes, countertrolling's yet another trolltalk.com trolling scumbag infesting this forums along with the "trolling likes of YOU" as well:
http://www.google.com/search?hl=en&source=hp&q=countertrolling+site%3A+trolltalk.com&btnG=Google+Search
Get used to it scumbag. You only did it to yourselves. You are now going to be modded down for your bullshit it seems that you and your trolltalk.com pals do here constantly to others in addition to ac reply stalking & trolling them:
PROOF in your OWN WORDS, tomhudson:
---
#1
"Wait until he starts on another kick, then reply to him as an AC. It's the new meme". - by tomhudson (43916) on Sunday May 09 2010, @08:29PM (#32150544) Homepage Journal
QUOTED VERBATIM FROM -> http://slashdot.org/comments.pl?sid=1646272&cid=32150544
---
#2
HOWTO: trolling the hosts file guy in one easy step
"The next time you see a post by him, just reply anonymously. And to really mess with his head, reply anonymously to your anonymous post, disagreeing with your first anon post (extra points if you claim in the second post that you're him - that REALLY sets him off). He'll accuse you of being me" - by tomhudson (43916) on Saturday April 16, @01:38PM (#35841122) Homepage Journal
QUOTED VERBATIM FROM -> http://slashdot.org/comments.pl?sid=2086424&cid=35841122
---
#3
"if you're going to tell this guy to stop spamming his hosts file crap, make sure you do it anonymously" - by tomhudson (43916) on Saturday April 16, @12:45PM (#35840680) Homepage Journal
QUOTED VERBATIM FROM -> http://slashdot.org/comments.pl?sid=2086920&cid=35840680
---
You only did this, to yourself, tomhudson...
QUOTED VERBATIM FROM -> http://slashdot.org/comments.pl?sid=2250914&cid=36531394
(From webmistressrachel, tomhudson's pal in fact)
I really want to stress this to you apk, (and whilst doing so needle tomhudson about it!) trolltalk isn't a forum anymore. It's an advert for TomHudson - by webmistressrachel (903577) on Wednesday June 22, @01:28PM (#36531394) Journal
That really truly "puts the FINAL nail in your coffins", bigtime - lol, & from "one of your own" no less...
Want more? YOU GOT IT!
Here's more, from your friend Jeremiah Cornelius, another trolltalk.com member, & pal to tomhudson also, from that very same exchange (after webmistressrachel tried to say there's no forums there on trolltalk.com no less):
http://slashdot.org/comments.pl?sid=2245062&cid=36469928
PERTINENT QUOTE/EXCEPT:
"Join us all on Troll Talk, this Tues. ;-)" - by Jeremiah Cornelius (137) on Thursday June 16, @08:26PM (#36469928) Homepage Journal
APK
P.S.=> Proof's in the pudding... apk
tomhudson = GREEDY ADVERTISER!!! Proof's below, & thank-you webmistressrachel:
I really want to stress this to you apk, (and whilst doing so needle tomhudson about it!) trolltalk isn't a forum anymore. It's an advert for TomHudson's...software. - by webmistressrachel (903577) on Wednesday June 22, @01:28PM (#36531394) Journal
QUOTED FROM -> http://slashdot.org/comments.pl?sid=2250914&cid=36531394
This is just like how GMHOWELL's name came up from Jeremiah Cornelius telling me his 1st name was George while JC trolled me no less (that's there in that exchange also)...
MOST amusing how you trolltalk.com fools are "spilling the beans" on one another as I question you people from trolltalk.com, & everytime... lol!
(Hilarious but... that's what you get for being obnoxious trolls whose motivation is GREED apparently!)
---
TOM HUDSON'S "FAIL LIST" ON DISPROVING MY POINTS ON HOSTS FILES NUMEROUS TIMES:
(Since HOSTS can block adverts online/adbanners so you get more speed, &, so you are protected vs. malicious content in online adbanners also)
---
tomhudson bullshit on HOSTS is outnumbered 30:1 vs. apk evidences:
http://slashdot.org/comments.pl?sid=2087330&cid=35847946
---
tomhudson BURNED on DNS vs. HOSTS and CPU cycles/memory & more used on HIS "ideas" vs. HOSTS vs. apk's ideas:
http://slashdot.org/comments.pl?sid=2087330&cid=35879374
---
tomhudson BURNED & RAN on HOSTS vs. VIRUSES vs. myself yet again:
http://slashdot.org/comments.pl?sid=2088808&cid=35877448
---
tomhudson says "hosts are so 90's" & apk's fellow RESPECTED security person wrote a noted article on them in 2009: (based on his readings of MY posts in forums no less)
http://slashdot.org/comments.pl?sid=2088808&cid=35876806
---
And others also...
APK
P.S.=> Which is WHY of course, tomhudson began his tirade to try to libel myself here and stalk me as well on this forums... he hates HOSTS because they can be used to block out adverts online (which in turn, speeds one up massively, and, can protect one vs. malicious code in adbanners too from 1 easily edited text file):
PROOF/EVIDENCES THEREOF in tomhudson calling me the HOSTS FILE TROLL etc. & stating to his trolltalk.com pals to stalk & troll me via AC replies:
---
"Wait until he starts on another kick, then reply to him as an AC. It's the new meme". - by tomhudson (43916) on Sunday May 09 2010, @08:29PM (#32150544) Homepage Journal
QUOTED VERBATIM FROM -> http://slashdot.org/comments.pl?sid=1646272&cid=32150544
---
#2
HOWTO: trolling the hosts file guy in one easy step
"The next time you see a post by him, just reply anonymously. And to really mess with his head, reply anonymously to your anonymous post, disagreeing with your first anon post (extra points if you claim in the second post that you're him - that REALLY sets him off). He'll accuse you of being me" - by tomhudson (43916) on Saturday April 16, @01:38PM (#35841122) Homepage Journal
QUOTED VERBATIM FROM -> http://slashdot.org/comments.pl?sid=2086424&cid=35841122
---
#3
"if you're going to tell this guy to stop spamming his hosts file crap, make su
centrifuge centrifuge lab
Lab centrifuge
centrifuge machine
Medical centrifuges
Laboratory centrifuges
Laboratory centrifuge
Cytocentrifuges
cell smear centrifuge
Urine Centrifuge
urine sediment centrifuge
high speed centrifuge manufacturers
centrifuge refrigerated
refrigerated centrifuge manufacturers