User option (-u or --user) is ignored
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tftp-hpa (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Tested in Ubuntu 12.04 and 13.04.
The --user, -u, or /etc/default/
I pulled the source with wget https:/
Ran with
/root/tftp-
Result was
root@ubuntu:
root 7955 1 0 13:55 ? 00:00:00 /root/tftp-
I expected the process uid to be that of "nobody". Killing the process and trying again I also looked at /proc to see what it thought about it:
root@ubuntu:
Name: tftpd
State: S (sleeping)
Tgid: 8037
Pid: 8037
PPid: 1
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 64
Groups: 0
VmPeak: 13048 kB
VmSize: 13048 kB
VmLck: 0 kB
VmPin: 0 kB
VmHWM: 140 kB
VmRSS: 140 kB
VmData: 444 kB
VmStk: 136 kB
VmExe: 32 kB
VmLib: 2140 kB
VmPTE: 44 kB
VmSwap: 0 kB
Threads: 1
SigQ: 0/31432
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000010000
SigCgt: 0000000000004003
CapInh: 0000000000000000
CapPrm: 0000001fffffffff
CapEff: 0000001fffffffff
CapBnd: 0000001fffffffff
Seccomp: 0
Cpus_allowed: ffffffff,ffffffff
Cpus_allowed_list: 0-63
Mems_allowed: 00000000,00000001
Mems_allowed_list: 0
voluntary_
nonvoluntary_
information type: | Private Security → Public Security |
Have you been able to reproduce this problem using the Ubuntu-provided tftpd-hpa package?