Forum: Ruby on Rails RE: [OT] Is it safe to 'su' to the right user ?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
72d155311eb7c9c85fcfd5f37392a4f9?d=identicon&s=25 Luke Hinds (Guest)
on 2006-04-20 00:39
(Received via mailing list)
Does it have to be run with setuid?

Normally the main reason for running a webserver as a sudoer is because
root is needed for to use of a privileged port like '80'?

If it is only a test server perhaps you could run from 8080?
3dd4b52a0946bd698b1d1635a46ea3a3?d=identicon&s=25 François Beausoleil (fbeausoleil)
on 2006-04-20 02:54
(Received via mailing list)
Hi !

2006/4/19, Luke Hinds <Luke.Hinds@mformation.com>:
> Does it have to be run with setuid?

svnserve itself uses port 3690.  But, supervise, the process that
spawns svnserve, runs as root.  That is why I need to sudo to the
right user.

Thanks to you and Eric !
This topic is locked and can not be replied to.