This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getuid() and root


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

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]