LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Allowing password-less access to system-config-usrs program using pam.d (https://www.linuxquestions.org/questions/linux-newbie-8/allowing-password-less-access-to-system-config-usrs-program-using-pam-d-941759/)

bossyman15 04-25-2012 10:00 PM

Allowing password-less access to system-config-usrs program using pam.d
 
I have an assignment in class where the question says to edit a file in pam.d directory to allow any users to access system-config-usrs program without being prompted for root password. After a while of trying to figure it out my teacher gave me the hint that the file is password-auth. However I couldn't figure out what to edit in that file. I think it had to do something with pam_permit.so but I tried many different edits and the usrs are still being prompted for root password.

here's the password-auth file below. I know it seems like cheating but I'm trying to learn here. So can anyone help me out with this?

Code:

#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth        required      pam_env.so
auth        sufficient    pam_unix.so nullok try_first_pass
auth        requisite    pam_succeed_if.so uid >= 1000 quiet
auth        required      pam_permit.so

account    required      pam_unix.so
account    sufficient    pam_localuser.so
account    sufficient    pam_succeed_if.so uid < 1000 quiet
account    required      pam_permit.so

password    requisite    pam_cracklib.so try_first_pass retry=3 type=
password    sufficient    pam_unix.so md5 shadow nullok try_first_pass use_authtok
password    required      pam_permit.so

session    optional      pam_keyinit.so revoke
session    required      pam_limits.so
-session    optional      pam_systemd.so
session    [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid
session    required      pam_unix.so



All times are GMT -5. The time now is 01:34 AM.