Browse Source

Fix module path to use $ISA (needed to make vtysh work on, eg, FC2 x86_64)

paul 17 years ago
parent
commit
074a917aeb
1 changed files with 10 additions and 10 deletions
  1. 10 10
      redhat/quagga.pam

+ 10 - 10
redhat/quagga.pam

@@ -4,12 +4,12 @@
 ##### if running quagga as root:
 # Only allow root (and possibly wheel) to use this because enable access
 # is unrestricted.
-auth       sufficient   /lib/security/pam_rootok.so
+auth       sufficient   /lib/security/$ISA/pam_rootok.so
 
 # Uncomment the following line to implicitly trust users in the "wheel" group.
-#auth       sufficient   /lib/security/pam_wheel.so trust use_uid
+#auth       sufficient   /lib/security/$ISA/pam_wheel.so trust use_uid
 # Uncomment the following line to require a user to be in the "wheel" group.
-#auth       required     /lib/security/pam_wheel.so use_uid
+#auth       required     /lib/security/$ISA/pam_wheel.so use_uid
 ###########################################################
 
 # If using quagga privileges and with a seperate group for vty access, then
@@ -17,10 +17,10 @@ auth       sufficient   /lib/security/pam_rootok.so
 # check for valid user/password, eg:
 #
 # only allow local users.
-#auth       required     /lib/security/pam_securetty.so
-#auth       required     /lib/security/pam_stack.so service=system-auth
-#auth       required     /lib/security/pam_nologin.so
-#account    required     /lib/security/pam_stack.so service=system-auth
-#password   required     /lib/security/pam_stack.so service=system-auth
-#session    required     /lib/security/pam_stack.so service=system-auth
-#session    optional     /lib/security/pam_console.so
+#auth       required     /lib/security/$ISA/pam_securetty.so
+#auth       required     /lib/security/$ISA/pam_stack.so service=system-auth
+#auth       required     /lib/security/$ISA/pam_nologin.so
+#account    required     /lib/security/$ISA/pam_stack.so service=system-auth
+#password   required     /lib/security/$ISA/pam_stack.so service=system-auth
+#session    required     /lib/security/$ISA/pam_stack.so service=system-auth
+#session    optional     /lib/security/$ISA/pam_console.so