Skip to content

Systemd without pam

belka-ew edited this page Nov 2, 2014 · 1 revision

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

  • shadow
  • systemd
  • dbus

This has to be done in the order listed above.

You will need to edit the slackbuilds to disable pam support, in shadow and systemd.

# 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