[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: su, su -, sudo _and runuser_
- From: James Wilkinson <fedora aprilcottage co uk>
- To: fedora-list redhat com
- Subject: Re: su, su -, sudo _and runuser_
- Date: Tue, 29 Aug 2006 13:14:40 +0100
Rainer Traut wrote:
> I think a better question is what is 'runuser' for?
> It has less options than su but does the same thing?!
runuser is a "trimmed down version of su" (according to the manpage).
Whereas su will allow you to get more permissions, runuser is a
lightweight version for root to disclaim root privileges, and run a
command with the permissions of a less-privileged user.
It seems to be used mostly in start-up scripts: you don't want your Web
server running as root in case someone finds a vulnerability. If the
server is merely running as apache, then an attacker would have to find
another vulnerability to become root.
Hope this helps,
James.
--
E-mail: james@ | "We completely deny the allegations, and we're trying to
aprilcottage.co.uk | identify the alligators."
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]