Page 1 of 1
Possible to disable or uninstall PAM in easyVoid ?
Posted: Fri Jan 26, 2024 7:25 pm
by Caramel
The Linux Pluggable Authentication Modules (PAM) provides a framework for system-wide user authentication. (See https://en.wikipedia.org/wiki/Pluggable ... ion_module or https://wiki.archlinux.org/title/PAM for more)
PAM is installed in easyVoid but not in previous Easy versions. It is a complicated component and useless for a personal computer.
I suspect PAM to be responsible of a problem with anydesk (see the topic viewtopic.php?t=10439)
So is there a way to get rid of PAM in easyVoid ?
Re: Possible to disable or uninstall PAM in easyVoid ?
Posted: Sat Jan 27, 2024 2:53 am
by BarryK
Kirkstone and Dunfell, and even earlier Pyro series, are EasyOS compiled in OpenEmbedded, from source and i get to choose dependencies. I chose to not have systemd, pam and avahi.
Building from another distros packages, have to live with their deps. All distros that I know of use pam.
Although apps will be linked to pam shared libraries, have to make sure pam is disabled.
Maybe need to study pam docs, make sure there is no config file that is causing pam to not be deactivated
Re: Possible to disable or uninstall PAM in easyVoid ?
Posted: Sun Jan 28, 2024 8:14 am
by Caramel
First a remark:
According to pkgs.org and PKGget, the package pam*.xbps depends opf the package pam-base that is not installed in easyvoid. But it is possible to install it with PKGget (after that impossible to uninstall with PKGget)
Secondly:
This is pet to mask the packages pam and pam-libs (also mask pam-base if the latter is installed)
(By masking i mean that the packages will not be used by easyvoid even if the files are still in the easy.sfs)
It contains only white-out files
# ls -aR mask-pam-0.1
mask-pam-0.1:
. .. etc pet.specs usr
mask-pam-0.1/etc:
. .. .wh.environment .wh.security
mask-pam-0.1/usr:
. .. bin lib
mask-pam-0.1/usr/bin:
. .wh.mkhomedir_helper .wh.pwhistory_helper
.. .wh.pam_namespace_helper .wh.unix_chkpwd
.wh.faillock .wh.pam_timestamp_check .wh.unix_update
mask-pam-0.1/usr/lib:
. .wh.libpamc.so.0.82.1 .wh.libpam.so.0
.. .wh.libpam_misc.so.0 .wh.libpam.so.0.85.1
.wh.libpamc.so.0 .wh.libpam_misc.so.0.82.1 .wh.security
This pet needs a REBOOT