PAM: Difference between revisions

From Alpine Linux
m (Formatting)
(link greetd page)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
To use PAM, the <code>pam</code> 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:


* <code>greetd</code> plus any greeter (<code>agretty</code> looks like login). See ([https://git.sr.ht/~kennylevinsen/greetd greetd's website] for more information).
* [[greetd]] plus any greeter
* <code>login(1)</code> provided by <code>shadow-login</code>
* <code>login(1)</code> provided by {{Pkg|shadow-login}}
* <code>login(1)</code> provided by <code>util-linux-login</code>
* <code>login(1)</code> provided by {{Pkg|util-linux-login}}
 
{{warning|Login without PAM will still be possible. See {{issue|11730}}}}
 
== ulimit ==
 
<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 Also ==
== See Also ==
Line 9: Line 15:
* [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:Kernel]]
[[Category:Authentication]]

Latest revision as of 14:26, 29 February 2024

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:

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

See Also