Bug 884625
| Summary: | man-pages: credentials(7) should mention SELinux contexts | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Florian Weimer <fweimer> |
| Component: | man-pages | Assignee: | Carlos O'Donell <codonell> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dwalsh, eparis, ralvaro, sgrubb |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | Flags: | ralvaro:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Florian Weimer
2012-12-06 12:55:12 UTC
Hi Florian, please, what selinux manual page discuss this topic? Thanks, peter I don't know, sorry. libselinux-devel does not include an overview manual page, and I don't seem to have such a thing on my system (neither selinux(3) nor selinux(7)). CC'ing SELinux guys. Please, could you participate on this bug? We need to provide some references to the relevant sources (if exists) or update the credentials(7) man page itself with relevant information. I think there is other audit information that should be listed here like auid and sessionid. Yes, auid and sessionid are part of a process' credentials. auid is sometimes called the loginuid. It tracks what account someone logged in under. For daemons, it should be -1, which is unset. This is because daemons are started by init and are not part of a login session. Once the auid is set, it cannot be changed. Setting it also requires CAP_AUDIT_CONTROL. When it gets set, it causes sessionid to increment a global counter and the new number is assigned to the process. This way all processes can be traced to an original login in case a user has multiple logins. Both of these credentials are inherited at process fork and cannot be changed. This way any process can be traced to the original user no matter who the sudo or su to later in the session. The audit credentials cannot be used to grant access to anything, they are only used for tracking and to trigger audit rules. They can both be seen as /proc/self/loginuid and /proc/self/sessionid. pam_loginuid.so sets the loginuid and its man page has more information. Also, audit.rules man pages has some more information about auditing. This message is a reminder that Fedora 17 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 17. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '17'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 17's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 17 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior to Fedora 17's end of life. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Still present in man-pages-3.51-1.fc19.noarch (same version as in rawhide). This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. |