1830747 Members
2215 Online
110015 Solutions
New Discussion

vsftpd : Oops 500 setgid

 
Lutz_4
Advisor

vsftpd : Oops 500 setgid

hello,

Can someone help me ?
Whan I do a ftp localhost, I got this error msg :
connected to localhost
500 Oops: setgid

thx

Mathieu
3 REPLIES 3
Ermin Borovac
Honored Contributor

Re: vsftpd : Oops 500 setgid

vsftpd uses login 'nobody' to run unprivileged bits of itself. By default, user 'nobody' has a GID of -2, which is probably making setgid() fail.

Either change GID of user 'nobody' or modify vsftpd.conf setting 'nopriv_user' from 'nobody' to another unprivileged account.
Steven E. Protter
Exalted Contributor

Re: vsftpd : Oops 500 setgid

Shalom Matheiu,

ftpd servers know nothing but numeric user id's. They get response based on the permissions of the user that is connecting.

If you are user sprotter at log in, the ftpd server sees you only by your numeric id on the host system.

So, if you have vsftpd configured to say disallow root ftp access, which is a really great security idea then these kind of results should be expected.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Lutz_4
Advisor

Re: vsftpd : Oops 500 setgid

thanks
that's it !!! uid/gid of nobody/nogroup where on -2

I change them and now it starts

Mathieu