Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
atftp
atftp-drop_privileges_non-daemon.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File atftp-drop_privileges_non-daemon.patch of Package atftp
Index: atftp-0.7.5/tftpd.c =================================================================== --- atftp-0.7.5.orig/tftpd.c +++ atftp-0.7.5/tftpd.c @@ -99,8 +99,8 @@ int deny_severity = LOG_NOTICE; #endif /* user ID and group ID when running as a daemon */ -char user_name[MAXLEN] = "nobody"; -char group_name[MAXLEN] = "nogroup"; +char user_name[MAXLEN] = "tftp"; +char group_name[MAXLEN] = "tftp"; /* For special uses, disable source port checking */ int source_port_checking = 1; @@ -298,7 +298,7 @@ int main(int argc, char **argv) dup2(sockfd, 0); close(sockfd); - /* release priviliedge */ + /* release priviledge */ /* first see if we are or can somehow become root, if so prepare * for drop even if not requested on command line */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor