Bug 81959 - DOC: Misleading documentation for NoNewPrivileges about UID changes
Summary: DOC: Misleading documentation for NoNewPrivileges about UID changes
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-31 10:27 UTC by intrigeri
Modified: 2016-11-24 01:00 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.