Displaying 2 results from an estimated 2 matches for "setrv".
Did you mean:
serv
2004 Jan 13
1
tftpd-hpa suggestions
Hello, Peter and others!
there are some issues regarding the tftp-hpa server:
1. Running as Windows service seems to require that the application does
not detach (otherwise "net start" says smth. like "could not start,
the service didn't report any errors").
The attached patch adds the option "-n", which can be used to have
tftpd run in foreground.
2003 Apr 13
2
Problem in getting tftp transfer to succeed
...ile isn't found,
but I think this is because of tsize ... but I could be wrong)
So I changed the tftpd with tftpd-hpa, I had to comment out:
/* Set up the supplementary group access list if possible */
/* /etc/group still need to be accessible at this point */
#ifdef HAVE_INITGROUPS
setrv = initgroups(user, pw->pw_gid);
if ( setrv ) {
syslog(LOG_ERR, "cannot set groups for user %s", user);
exit(EX_OSERR);
}
#else
#ifdef HAVE_SETGROUPS
if ( setgroups(0, NULL) ) {
syslog(LOG_ERR, "cannot clear group list");
}
#endif
#endif
because othe...