getuid() and root
Tue Sep 23 14:23:00 GMT 2003
On Tue, Sep 23, 2003 at 09:44:22AM -0400, Kevin Van Workum wrote:
> I'm trying to compile SOpenPBS on Cygwin. SOpenPBS is the Scalable Open
> Portable Batch System (www.supercluster.org). And I need some advice.
> I have it compiled and running, with some ugly hacks. First, the daemons
> want to run as user root. I can change this in the source to my login, but
> I'd like to eventually make it available to others, so this is not a good
> solution. I'd like it to work similar to sshd or cron and have it run
> using cygrunsrv, but I don't know how to do that. Any advice? Anyone
> interested in using SPBS on Cygwin and/or helping me to port it?
Remove (or better ifdef out) all checks for the root user account.
sshd is using the same approach. We don't have a root user
concept so far so these test are a bit displaced on Cygwin.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:email@example.com
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin