summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/yard/files/yard-2.2/etc/Replacements/pam.d/other8
-rw-r--r--sys-apps/yard/files/yard-2.2/etc/Replacements/root/profile18
2 files changed, 26 insertions, 0 deletions
diff --git a/sys-apps/yard/files/yard-2.2/etc/Replacements/pam.d/other b/sys-apps/yard/files/yard-2.2/etc/Replacements/pam.d/other
new file mode 100644
index 000000000000..b9f907d0f761
--- /dev/null
+++ b/sys-apps/yard/files/yard-2.2/etc/Replacements/pam.d/other
@@ -0,0 +1,8 @@
+# Simple pam.conf for rescue disk
+# Be sure to include the libraries in the fourth column
+# in Bootdisk_contents
+auth optional /lib/security/pam_permit.so
+auth optional /lib/security/pam_permit.so
+account optional /lib/security/pam_permit.so
+password optional /lib/security/pam_permit.so
+session optional /lib/security/pam_permit.so
diff --git a/sys-apps/yard/files/yard-2.2/etc/Replacements/root/profile b/sys-apps/yard/files/yard-2.2/etc/Replacements/root/profile
new file mode 100644
index 000000000000..5f5fb519a7b4
--- /dev/null
+++ b/sys-apps/yard/files/yard-2.2/etc/Replacements/root/profile
@@ -0,0 +1,18 @@
+#
+# A basic .profile for root
+# Provided by Horst von Brand
+#
+export HOSTNAME=Rescue
+PATH=/bin:/usr/bin:/sbin:/usr/sbin:/OLDROOT/sbin:/OLDROOT/usr/sbin:/OLDROOT/bin:/OLDROOT/usr/bin:/OLDROOT/usr/local/sbin:/OLDROOT/usr/local/bin
+if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
+ TERM=linux
+fi
+PS1='\h:\w# '
+PS2='> '
+unset ignoreeof
+umask 022
+
+export PATH TERM PS1 PS2
+
+LD_LIBRARY_PATH=/lib:/usr/lib:/OLDROOT/lib:/OLDROOT/usr/lib
+export LD_LIBRARY_PATH