LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-25-2012, 11:00 PM   #1
bossyman15
LQ Newbie
 
Registered: Apr 2012
Posts: 1

Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Config /etc/pam.d/system-auth for account Lockout and Password Minumum mccartjd Linux - Security 3 02-18-2010 09:45 AM
Using PAM: Allowing access to 'poweroff' while logged out. Borax_Man Linux - Security 3 04-17-2009 03:30 AM
Password Complexity after changing the /etc/pam.d/system-auth the system dies kprakashc Linux - Newbie 0 08-27-2008 10:50 PM
allowing application access through password jani1982 Linux - Security 1 04-15-2008 12:06 PM
PAM -- Allowing only certain users access DennisC31 Linux - Security 1 01-05-2008 07:26 PM


All times are GMT -5. The time now is 03:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration