This repository has been archived by the owner on Aug 22, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
40 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/sh -eux | ||
|
||
ub_install | ||
|
||
mkdir -p "$UB_INSTALLDIR"/etc/security | ||
mkdir -p "$UB_INSTALLDIR"/usr/lib/security | ||
cp chroot.conf "$UB_INSTALLDIR"/etc/security/ | ||
cp pam_chroot.so "$UB_INSTALLDIR"/usr/lib/security/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/sh -eux | ||
|
||
export SECURITYDIR=/usr/lib/security | ||
ub_compile \ | ||
--libdir=/lib | ||
--libdir=/usr/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh -eux | ||
|
||
ub_install | ||
rm "$UB_INSTALLDIR"/lib/security/pam_krb5.la | ||
rm "$UB_INSTALLDIR"/usr/lib/security/pam_krb5.la |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/bin/sh -eux | ||
|
||
ub_compile | ||
ub_compile \ | ||
--disable-encrypt-pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh -eux | ||
|
||
mkdir -p "$UB_INSTALLDIR"/lib/security | ||
cp -a pam_smb_auth.so "$UB_INSTALLDIR"/lib/security/ | ||
mkdir -p "$UB_INSTALLDIR"/usr/lib/security | ||
cp -a pam_smb_auth.so "$UB_INSTALLDIR"/usr/lib/security/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
diff -Nur orig/README mod/README | ||
--- orig/README 2003-08-15 04:52:27.000000000 +0200 | ||
+++ mod/README 2019-10-14 20:41:49.565543008 +0200 | ||
@@ -68,13 +68,13 @@ | ||
Note the pam_smb_auth.so line. | ||
|
||
#%PAM-1.0 | ||
-auth required /lib/security/pam_securetty.so | ||
-auth required /lib/security/pam_smb_auth.so | ||
-auth required /lib/security/pam_nologin.so | ||
-account required /lib/security/pam_pwdb.so | ||
-password required /lib/security/pam_cracklib.so | ||
-password required /lib/security/pam_pwdb.so shadow nullok use_authtok | ||
-session required /lib/security/pam_pwdb.so | ||
+auth required /usr/lib/security/pam_securetty.so | ||
+auth required /usr/lib/security/pam_smb_auth.so | ||
+auth required /usr/lib/security/pam_nologin.so | ||
+account required /usr/lib/security/pam_pwdb.so | ||
+password required /usr/lib/security/pam_cracklib.so | ||
+password required /usr/lib/security/pam_pwdb.so shadow nullok use_authtok | ||
+session required /usr/lib/security/pam_pwdb.so | ||
|
||
For Solaris: | ||
You need to change the /etc/pam.conf other line to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh -eux | ||
|
||
mkdir -p ${UB_INSTALLDIR}/lib/security/ | ||
cp .libs/pam_ssh.so ${UB_INSTALLDIR}/lib/security/ | ||
mkdir -p ${UB_INSTALLDIR}/usr/lib/security/ | ||
cp .libs/pam_ssh.so ${UB_INSTALLDIR}/usr/lib/security/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/sh -eux | ||
|
||
mkdir -p "$UB_INSTALLDIR"/lib/security | ||
mkdir -p "$UB_INSTALLDIR"/usr/lib/security | ||
ub_install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters