diff options
author | davidovski <david@davidovski.xyz> | 2022-01-18 18:33:34 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-18 18:33:34 +0000 |
commit | 7328ec14b56f8ef6206c8f070b21a4185250b73a (patch) | |
tree | df25941896b433f2f8cb75f706c8926e83ba01a8 /repo/system/pam.xibuild | |
parent | c807eae95eb95c23d7e9e71b91a87ee99fa8401d (diff) |
removed postinstall scripts form pam and shadow
Diffstat (limited to 'repo/system/pam.xibuild')
-rw-r--r-- | repo/system/pam.xibuild | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/repo/system/pam.xibuild b/repo/system/pam.xibuild index 2fccf4e..b9149b1 100644 --- a/repo/system/pam.xibuild +++ b/repo/system/pam.xibuild @@ -27,12 +27,9 @@ build () { package () { make DESTDIR=$PKG_DEST install install -v -m755 -d $PKG_DEST/etc/pam.d -} - -postinstall () { - install -vdm755 /etc/pam.d - cat > /etc/pam.d/system-account << "EOF" + install -vdm755 $PKG_DEST/etc/pam.d + cat > $PKG_DEST/etc/pam.d/system-account << "EOF" # Begin /etc/pam.d/system-account account required pam_unix.so @@ -40,7 +37,7 @@ account required pam_unix.so # End /etc/pam.d/system-account EOF - cat > /etc/pam.d/system-auth << "EOF" + cat > $PKG_DEST/etc/pam.d/system-auth << "EOF" # Begin /etc/pam.d/system-auth auth required pam_unix.so @@ -48,7 +45,7 @@ auth required pam_unix.so # End /etc/pam.d/system-auth EOF - cat > /etc/pam.d/system-session << "EOF" + cat > $PKG_DEST/etc/pam.d/system-session << "EOF" # Begin /etc/pam.d/system-session session required pam_unix.so @@ -56,7 +53,7 @@ session required pam_unix.so # End /etc/pam.d/system-session EOF - cat > /etc/pam.d/system-password << "EOF" + cat > $PKG_DEST/etc/pam.d/system-password << "EOF" # Begin /etc/pam.d/system-password # use sha512 hash for encryption, use shadow, and try to use any previously |