Bug 81959

Summary: DOC: Misleading documentation for NoNewPrivileges about UID changes
Product: systemd Reporter: intrigeri
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium CC: intrigeri
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description intrigeri 2014-07-31 10:27:24 UTC
Hi,

the section about NoNewPrivileges in systemd.exec(5) reads "it also prohibits UID changes of any kind". This lead me to believe that the daemon started by a unit file that enables NoNewPrivilege could not change its UID (e.g. to drop root privileges), which is apparently not the case, as Ansgar Burchardt kindly explained to me on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756604#10.

Thanks a lot for writing and maintaining systemd,
Cheers!
Comment 1 Lennart Poettering 2016-11-24 01:00:18 UTC
Fixed in d974f949f10d6945e1abe9bc6525e676bc515928

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.