From 3e8f62c35fce80343b5359b45924f7bc3fc22d4f Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 13 Jul 2022 15:12:27 +0200 Subject: Initial commit --- install.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 install.sh (limited to 'install.sh') diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..5d40318 --- /dev/null +++ b/install.sh @@ -0,0 +1,12 @@ +#!/bin/env sh + +set -e + +gcc -fPIC -c main.c +ld -x --shared -o /lib/security/pam_trusthome.so main.o +chmod 755 /lib/security/pam_trusthome.so +rm main.o + +cp ishome /etc/security/ +chown root:root /etc/security/ishome +chmod 005 /etc/security/ishome -- cgit v1.2.3