should contain_xinetd__service('tftp').with({
'port' => '69',
'protocol' => 'udp',
- 'server_args' => '--secure /var/lib/tftpboot',
+ 'server_args' => '--secure -u nobody /var/lib/tftpboot',
'server' => '/usr/sbin/in.tftpd',
- 'user' => 'nobody',
'socket_type' => 'dgram',
'cps' => '100 2',
'flags' => 'IPv4',
should contain_xinetd__service('tftp').with({
'port' => '69',
'protocol' => 'udp',
- 'server_args' => '--secure /var/lib/tftpboot',
+ 'server_args' => '--secure -u tftp /var/lib/tftpboot',
'server' => '/usr/sbin/in.tftpd',
- 'user' => 'tftp',
'socket_type' => 'dgram',
'cps' => '100 2',
'flags' => 'IPv4',
should contain_xinetd__service('tftp').with({
'port' => '69',
'protocol' => 'udp',
- 'server_args' => '--secure /srv/tftp',
+ 'server_args' => '--secure -u tftp /srv/tftp',
'server' => '/usr/sbin/in.tftpd',
- 'user' => 'tftp',
'socket_type' => 'dgram',
'cps' => '100 2',
'flags' => 'IPv4',
should contain_xinetd__service('tftp').with({
'port' => '69',
'protocol' => 'udp',
- 'server_args' => '--secure --timeout 50 /srv/tftp',
+ 'server_args' => '--secure --timeout 50 -u tftp /srv/tftp',
'server' => '/usr/sbin/in.tftpd',
- 'user' => 'tftp',
'socket_type' => 'dgram',
'cps' => '100 2',
'flags' => 'IPv4',
should contain_xinetd__service('tftp').with({
'port' => '1069',
'protocol' => 'udp',
- 'server_args' => '--secure /tftpboot',
+ 'server_args' => '--secure -u root /tftpboot',
'server' => '/usr/sbin/in.tftpd',
- 'user' => 'root',
'socket_type' => 'dgram',
'cps' => '100 2',
'flags' => 'IPv4',