PAM: Difference between revisions

From Alpine Linux
m (Formatting)
(Mention on /etc/security/limits.conf)
Line 4: Line 4:
* <code>login(1)</code> provided by <code>shadow-login</code>
* <code>login(1)</code> provided by <code>shadow-login</code>
* <code>login(1)</code> provided by <code>util-linux-login</code>
* <code>login(1)</code> provided by <code>util-linux-login</code>
== 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 ==

Revision as of 10:06, 27 January 2023

To use PAM, the 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 (agretty looks like login). See (greetd's website for more information).
  • login(1) provided by shadow-login
  • login(1) provided by util-linux-login

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