This is the mail archive of the
mailing list for the Cygwin project.
Re: getuid() and root
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 23 Sep 2003 16:22:37 +0200
- Subject: Re: getuid() and root
- References: <Pine.CYG.4.55.0309230927530.2076@kirkwood>
- Reply-to: cygwin at cygwin dot com
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:firstname.lastname@example.org
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html