Michael Robertson Says Root is Safe
Kez writes "HEXUS.net caught up with Michael Robertson, CEO of Linspire, at the UK launch of Linspire 5. Their interview with Mr. Robertson covers everything from hardware support to software patents, but a comment from Mr. Robertson on using root is perhaps the most interesting: "I defy anybody to tell me why is it more secure to not run as root. Nobody really has a good answer. They say 'oh, yeah, it is!', but it really isn't." I would imagine a few Slashdotters would dispute that."
I have to say I love the OSX solution. For those of you that aren't familiar:
The method:
By default you don't use root (although it does exist)
By default a user may or may not be an "admin" user. An admin user may perform root-like operations by authenticating again, but they give their own same password to the OS to do things.
It still knows you're you, you're just super-you. So default files are created with you as owner, for instance. This is safer because it reduces slightly the number of escalations necessary.
The effects:
The actual user password being compromised is not the reason you need a separate root account, so they removed your need for two passwords.
Bad apps still need separate priv escalation to do any harm, even if you're running as admin.
BUT you don't have to logout of your GUI session to have one app - or even ONE PART of one app - run with escalated privledges, if you authorize it to.
This means you have NO REASON to ever run unnecessary apps as an admin. No downloading just that one file as root because you're in the middle of doing a rooty thing and forgot one.
The similar linux hack:
I know you can setup similar things with sudo and a little tweaking. But this is how every OSX box ships, and it ought to be how every GUI consumer linux box ships too.
Looking for freelance Actionscript (Flash/Flex) or ColdFusion work and/or freelance developers. Email me, put Slashdot
rm -Rf / as nonroot will make you give a sigh of relief. As root will be your nightmare.
I dare you to try this. Dare.
Note: you may wish to back your home directory up first. Preferably somewhere not under /, or using with someone else's permissions.
No comment.
I should be able to specify that a particular UID can listen on ifname:80
Have you looked into selinux? I don't know if it allows port 80 access from an initially non root user, but it allows you to run a locked-down root process. Problem is that it's apparently very complicated so only supports a scant few products out of the box. But web serving is one of them.
-Michael
"How could open source applications support ActiveX?"
Ask these guys.
BTW, you REALLY don't understand what ActiveX is. Heh. Non-MS products can open ActiveX plugins.
"Derp de derp."
>urr doesn't that make the directory non browseable?
/home/* non-executable, but only the /home/ directory itself. This allows users access to subdirectories of /home/, but only the ones they know about independently.
/home/" will fail to find any world-readable directories, because it won't be able to get a listing of /home/
/home/bob/public_stuffs" will work just fine, however, with the permissions set properly.
Yes. That's a good thing, for the reasons described in the parent post. It bears repeating that he did NOT say to set
An "ls -l --recursive
An "ls -l
as per this comment below (just bringing it up to make it more obvious). chmod a-x /home keeps you from doing anything in /home or any subdirectory, but will let you list /home; chmod a-r /home keeps you from listing /home but will let you do stuff in /home/bob.
It's been stated repeatedly that Mozilla.org products will never implement ActiveX out of the box... ever...
There are extensions, if there weren't you could develop them, it's up to you to implement ActiveX in moz/fox and degrade your security, but THAT won't come from the foundation.
Try again.
"The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler