XFileSharing Pro - nginx-fascgi and unknow user

Message
Author
neutrino
Posts: 3
Joined: Jul 19, 2013 10:33 am

nginx-fascgi and unknow user

#1 Postby neutrino » Jul 19, 2013 10:41 am

Hello,

we have processes like perl-fcgi running as user 502 (so it is an unknow user)

502 1211 1 0 12:05 ? 00:00:00 perl-fcgi-pm
502 1937 1211 0 12:10 ? 00:00:00 perl-fcgi

this creates problem when sending emails, because of a

fatal: no login name found for user ID 502

error. Any hint about this?

neutrino
Posts: 3
Joined: Jul 19, 2013 10:33 am

#2 Postby neutrino » Jul 19, 2013 1:05 pm

Ok, here are some news about this issue.

In file index-fcgi.cgi, at the beginning I have

POSIX::setuid(502) or die "Can't set uid: $!";

So my question is: why 502? Should this be set to a particular UID of an already existent user?

filekrypt
Posts: 15
Joined: May 24, 2013 9:03 am

#3 Postby filekrypt » Jul 29, 2013 2:25 am

if I am not mistaken, user 502 is usually assigned to the nginx process, can you check what is your nginx UID?


Return to “XFileSharing Pro”



Who is online

Users browsing this forum: No registered users and 1 guest