]> gitweb.fluxo.info Git - puppet-tftp.git/commit
let tftpd-hpa change the uid and gid of the process
authorMehdi Abaakouk <sileht@sileht.net>
Thu, 9 Aug 2012 08:08:33 +0000 (10:08 +0200)
committerMehdi Abaakouk <sileht@sileht.net>
Thu, 9 Aug 2012 08:08:33 +0000 (10:08 +0200)
commit634aad0477bb3480270bc8beaaf8252bc06fcb77
tree0ddfed512afcd147354c4dd2b438dfcaccdefcd5
parent7accc6e0d6d675baaf9a1d8ec0cae7f6ff7265d0
let tftpd-hpa change the uid and gid of the process

tftpd-hpa try to change the uid and gid of the process before serving a file
and it can't if xinetd start the process with a user other than root.

This result to this following message and tftp can't serve file
 in.tftpd[17609]: cannot set groups for user nobody

To customise user/group of the running process we need to use -u option
manifests/init.pp