Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Negative GID errors...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Negative GID errors...
Authored by: etwoy on Nov 06, '01 09:46:03PM

Well, I'm really surprised to see this article saying this is all so easy...

I've been working on getting 1.2.4 of ProFTPd working under OS X Server 1.2 for a few days now, and in communicating with the developers, they said that negative GID values will cause errors in operation....

So I thought I'd try compiling this on my 10.1 laptop, and voila! the errors are still there...

put proftpd in standalone mode (not inetd), and launch it like this:

proftpd -n -d5

(do not detach from terminal, and debug level 5)

When I do this, I get:

- error: GID of -1 not allowed
- Fatal: Group: Unknown group 'nogroup'.

Anyway. I reckon you're going to run into problems as soon as you try to do anything unusual, like chroot a user into somewhere other than their home directory for example...

be glad to be proven wrong though.


[ Reply to This | # ]
Negative GID errors...
Authored by: etwoy on Nov 06, '01 09:51:08PM

before anyone leaps on me for it, yes I forgot to change 'nogroup' to 'nobody', and that's what the second line refers to.

the rest of my message still stands though. GID -1 produces errors.

[ Reply to This | # ]
Negative GID errors...
Authored by: seann on Aug 26, '03 06:22:17PM

check to see who has -1 in /etc/passwd

I think root sometimes has -1 when its not enabled, or some jazz.

netinfo database maybe.

seen it before.

[ Reply to This | # ]