PAM: Difference between revisions
(mention that login without PAM is still possible) |
Prabuanand (talk | contribs) m (removed kernel category) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
To use PAM, the {{Pkg|linux-pam}} package itself must be installed as well as something for logging into the system that supports PAM. The <code>login</code> bundled with <code>busybox</code> does not support PAM. Instead, one of the following may be used: | To use PAM, the {{Pkg|linux-pam}} package itself must be installed as well as something for logging into the system that supports PAM. The <code>login</code> bundled with <code>busybox</code> does not support PAM. Instead, one of the following may be used: | ||
* | * [[greetd]] plus any greeter | ||
* <code>login(1)</code> provided by {{Pkg|shadow-login}} | * <code>login(1)</code> provided by {{Pkg|shadow-login}} | ||
* <code>login(1)</code> provided by {{Pkg|util-linux-login}} | * <code>login(1)</code> provided by {{Pkg|util-linux-login}} | ||
Line 11: | Line 11: | ||
<code>ulimit</code> permissions can be changed via <code>/etc/security/limits.conf</code>. These will only apply if a PAM-compatible tool is used for logging in (as indicated above). | <code>ulimit</code> permissions can be changed via <code>/etc/security/limits.conf</code>. These will only apply if a PAM-compatible tool is used for logging in (as indicated above). | ||
== See | == See also == | ||
* [https://wiki.gentoo.org/wiki/PAM PAM on the Gentoo Wiki] | * [https://wiki.gentoo.org/wiki/PAM PAM on the Gentoo Wiki] | ||
* [https://wiki.archlinux.org/title/PAM PAM on the ArchLinux Wiki] | * [https://wiki.archlinux.org/title/PAM PAM on the ArchLinux Wiki] | ||
[[Category:Authentication]] | [[Category:Authentication]] |
Latest revision as of 06:32, 2 April 2025
To use PAM, the linux-pam package itself must be installed as well as something for logging into the system that supports PAM. The login
bundled with busybox
does not support PAM. Instead, one of the following may be used:
- greetd plus any greeter
login(1)
provided by shadow-loginlogin(1)
provided by util-linux-login

Warning: Login without PAM will still be possible. See #11730
ulimit
ulimit
permissions can be changed via /etc/security/limits.conf
. These will only apply if a PAM-compatible tool is used for logging in (as indicated above).