Skip to content

Systemd with pam

belka-ew edited this page Nov 2, 2014 · 2 revisions

For building systemd with pam support you will need to install atleast the following packages:

  • cracklib
  • libpwquality
  • pam
  • shadow
  • systemd
  • dbus

This has to be done in the order listed above.

PAM is standard enabled in the slackbuilds. Make sure that the below option is indeed set to YES. Other packages that are available can be build with or without pam support.

# Set to NO to disable pam support
SBO_PAM=${SBO_PAM:-YES}

If you don't want to have systemd to be your default init, you will need to disable this in the systemd slackbuild aswell. The following option will create a symlink of /sbin/init to /lib/systemd/systemd

# Set YES to set systemd as default init
SBO_INIT=${SBO_INIT:-YES}

If you set the above option to yes you will need to edit your lilo or grub. See here below for a lilo example:

# Linux Systemd bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda2
  label = Linux-Systemd
  append = " init=/lib/systemd/systemd"
  read-only
# Linux Systemd bootable partition config ends
Clone this wiki locally