Steam for Linux > Discussioni generali > Dettagli della discussione
p0s 18 nov 2012, ore 15:39
Will Steam run without root?
I appreciate your efforts to make Steam run on Linux VERY VERY much.

However, as it still is closed-source software and connected to the Internet, I don't want to give it root access. Will it be possible to run Steam without even giving it root access once?
Visualizzazione di 1-15 commenti su 37
< >
LOLCAT 18 nov 2012, ore 15:50 
Only installing requires root access. Then it puts everything in your home folder, so no root access is needed.
Rain Ninja 18 nov 2012, ore 16:25 
Yeah only root needed for the package manager to install Steam and it's dependencies. Steam itself has no root access (unless you allow it to)
BurritoBazooka 18 nov 2012, ore 16:39 
Installing will need root access, but that's about it, from what I can see.

Also, if Steam is going to handle driver installation, it will need root for that. But you don't need to let Steam do that, you can do it yourself with another program.

I imagine VAC will work fine without root access.
ThOR27 18 nov 2012, ore 16:52 
I think if you extract the deb package you may run it without installing the package. You may need root to install it's dependencies. Never tried it, but may work.
p0s 18 nov 2012, ore 16:55 
Unfortunately "only for package installation" is equal to root access for eternity. The package can be constructed to install any binary as setuid root so any of the package contents can have root access for ever :(
alexlikeschess 18 nov 2012, ore 17:06 
True, but if you are trying to be crazy secure you can manually set UID back to neing non-privileged manually
p0s 18 nov 2012, ore 17:23 
This won't help. Once the package installation process has executed the package install scripts as root (a separate issue which I should have mentioned when talking about packages) the system must be considered as compromised and any further manual changes are worthless. In other words: Once you run the package installation, it will run programs in the package as root, and as they have full control over the system now, they can just copy them somewhere where I will not find them.
p0s 18 nov 2012, ore 17:25 
Notice that this level of paranoia is absolutely justified if we look at the history of PC gaming: There were many "copy control" mechanisms which would install DRIVERS in Windows systems to deeply hide in the system. Those drivers later turned out to have security issues themselves resulting in the system being wide open to hackers. The only conclusion is that anything which is related to closed source gaming software MUST NOT be given root privileges, not even ONCE for installation. Once root, always root.
CyberRat [Linux] 18 nov 2012, ore 17:37 
p0s, i understand your worries, but i don't think valve will risk a bad name by doing illegal stuff. Sony was a example how not to do it, and the Linux community is known for finding security holes.. fast.
p0s 18 nov 2012, ore 17:47 
Keeping the root privileges with a complex hack might not be illegal the way they do it. Because illegal is very imprecise with software, and I bet the amount of court decisions about "keeping root privileges even though the user did not want that" is close to 0.
Further, the Linux community will have a very hard time finding security issues in closed source software because it is *closed source*. Without the source code you could only read through the disassembly which is very difficult to understand and very time consuming and nobody will probably do that. Thats why *especially* closed source software such as Steam must not be run with root privilges.

And finally, consider this: What the hell would a gaming software need root for anyway?
Steam should be designed in a way which makes it possible to run without any root privileges at all. Its not needed for gaming.
p0s 18 nov 2012, ore 17:59 
gQuigs: Now this is a very on-topic reply. Thank you. It installs a full virtual Ubuntu system which is rather overkill but does the job I gues.

I'd love to see a reply from the Valve developers now, given that there does seem to be some demand for this.
Netist 18 nov 2012, ore 18:04 
Messaggio originale di p0s:
Keeping the root privileges with a complex hack might not be illegal the way they do it. Because illegal is very imprecise with software, and I bet the amount of court decisions about "keeping root privileges even though the user did not want that" is close to 0.
Further, the Linux community will have a very hard time finding security issues in closed source software because it is *closed source*. Without the source code you could only read through the disassembly which is very difficult to understand and very time consuming and nobody will probably do that. Thats why *especially* closed source software such as Steam must not be run with root privilges.

And finally, consider this: What the hell would a gaming software need root for anyway?
Steam should be designed in a way which makes it possible to run without any root privileges at all. Its not needed for gaming.
Um.

Steam doesn't need root, afaik?

Apt needs root to install it, since you're not getting the launcher in /usr/bin any other way.

If you're that paranoid, tell apt to install it in ~/.bin instead. This is seriously a non-issue.

And if you're REALLY paranoid, recursively remove the setuid bit from ~/Steam
Uplink 18 nov 2012, ore 18:39 
I installed it on Fedora 17 with no root access. The only potential issue is that you will have to install any dependencies yourself. Just download the .deb package, unpack it with a zip/archive manager and run the script as a non-priviledged user.
Chinoto [openSUSE] 18 nov 2012, ore 18:50 
How about this: Have Steam install everything it needs to a user definable folder and allow that folder to be moved anywhere the user wants (eg a separate drive/partition).

That way the user can carry over everything related to Steam to another computer without any messing around (aside from updating graphics driver) and it would allow multiple users to share common game files.

Btw, this is how Desura does it, except the saved games and such are stored in game specific places (eg "~/.local/share/Cogs", "~/.Broken Rules/And Yet It Moves", or just "~/.Osmos").
Visualizzazione di 1-15 commenti su 37
< >
Per pagina: 15 30 50
Data di pubblicazione: 18 nov 2012, ore 15:39
Messaggi: 37