Possible to disable or uninstall PAM in easyVoid ?

Moderator: BarryK

Post Reply
Caramel
Posts: 320
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 78 times
Been thanked: 51 times

Possible to disable or uninstall PAM in easyVoid ?

Post 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 ?

User avatar
BarryK
Posts: 2273
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 93 times
Been thanked: 564 times

Re: Possible to disable or uninstall PAM in easyVoid ?

Post 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

Caramel
Posts: 320
Joined: Sun Oct 02, 2022 6:25 pm
Location: France
Has thanked: 78 times
Been thanked: 51 times

Re: Possible to disable or uninstall PAM in easyVoid ?

Post 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)

mask-pam-0.1.pet
(684 Bytes) Downloaded 11 times

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

Post Reply

Return to “EasyOS”