I am using Porteus v5.01 KDE edition.
For some reason, even though /etc/pam.d/kde (and all the other files in the /etc/pam.d directory for that matter) has a 'session required pam_loginuid.so' entry, nevertheless there is no '/proc/self/loginuid' pseudo-file at all!
This is a problem for me, as I have an application that uses this pseudo-file and crashes without it!
Any idea why this Linux pseudo-file isn't present? (I've read elsewhere that Kernel build flag CONFIG_AUDITSYSCALL, set by CONFIG_AUDIT=y in the Makefile, may be a reason)
/proc/self/loginuid
- ncmprhnsbl
- DEV Team
- Posts: 4290
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
/proc/self/loginuid
can confirm.
(there is CONFIG_HAVE_ARCH_AUDITSYSCALL=y ..that might be unrelated..)
..looking further, you might need the package: audit as well (can be got from salix)
and to quote from here: https://slackware.nl/slakfinder/show.php?pkg=2638731
if it is the CONFIG_AUDIT= kernel build setting causing this, it would appear that porteus kernels have typically been built without this set. we might have to try that.
(there is CONFIG_HAVE_ARCH_AUDITSYSCALL=y ..that might be unrelated..)
..looking further, you might need the package: audit as well (can be got from salix)
and to quote from here: https://slackware.nl/slakfinder/show.php?pkg=2638731
The audit subsystem, which is not enabled in stock Slackware kernels
must be enabled and the kernel rebuilt in order to use auditd
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44