If you want to run a process with root privileges that you can invoke as a less unprivileged user, you can make the program setuid root. This can be very useful, for example, when you want a PHP or CGI script to call a backup process, or to create a new site or irrevocably delete you whole system. The latter example points to a serious security problem: if anyone can figure out a way to make your program do something you don't want, you're screwed, because you just gave them root privileges to wreak maximum havoc. That's why, normally, scripts (anything executed by an interpreter by the kernel because of a shebang) won't get elevated privileges when you set their setuid bit.
By Rowan Rodrik, 6 years ago, on February 03, 2011, at 00:02 |
For a Vimperator user like me, Goosh (the unofficial Google shell) is an obvious replacement for Google's normal search page.
By Rowan Rodrik, 7 years ago, on June 29, 2010, at 22:06 |
I was trying to install Unreal Tournament GOTY on one of my Linux machines. I downloaded and ran the script ut-install-436-GOTY.run but I got this error:
By halfgaar, 7 years ago, on February 14, 2010, at 17:02 |
Earlier today, I wanted to download all songs by this totally kick-ass rap outfit:
By Rowan Rodrik, 8 years ago, on February 23, 2009, at 21:02 |
XTerm is know to most X-Windows users as that ugly terminal with the strange scrollbar and the unreadable font. And it doesn't even have tabs! But, I think it's the best damn terminal emulator in the world. It just doesn't appear that way at first.
By Rowan Rodrik, 8 years ago, on November 27, 2008, at 23:11 |
A common problem is that Linux/Unix system administrators want to grant users access to SVN repositories, but prevent them from logging in on the shell. This can be accomplished quite easily.
By halfgaar, 9 years ago, on August 04, 2008, at 16:08 |