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.
Luke H. (Guest)
on 2006-04-20 02: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?
François B. (Guest)
on 2006-04-20 04:54
(Received via mailing list)
Hi !

2006/4/19, Luke H. <removed_email_address@domain.invalid>:
> 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.