question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

after updating to 1.0.8 pam.d not updated

See original GitHub issue

I’ve just updated to the latest keymaker, to get the file path fix, and pam.d/sshd isn’t being updated. sshd file timestamp is untouched.

[root@ip-10-30-29-7 ~]# ls -l /etc/ssh/sshd_config 
-rw------- 1 root root 4066 Jul 10 11:04 /etc/ssh/sshd_config
[root@ip-10-30-29-7 ~]# ls -l /etc/pam.d/sshd 
-rw-r--r-- 1 root root 904 May 22 20:22 /etc/pam.d/sshd
[root@ip-10-30-29-7 ~]# keymaker --version
1.0.8
[root@ip-10-30-29-7 ~]# 
[root@ip-10-30-29-7 ~]# head /etc/pam.d/sshd 
#%PAM-1.0
auth	   required	pam_sepermit.so
auth       substack     password-auth

I checked the new find_executable function, and it’s working fine on the host (this just prints the result of the function):

[root@ip-10-30-29-7 ~]# python test.py 
/usr/bin/keymaker-create-account-for-iam-user
/usr/bin/keymaker

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kislyukcommented, Jul 10, 2019

Also, I have not published https://github.com/kislyuk/keymaker/commit/5b795c1309afc03cd5bce37e95d56cf9f1f0934d in a release on PyPI yet. 1.0.8 does not have it.

0reactions
thisdougbcommented, Jul 12, 2019

weird, it’s now working ok. maybe AWS weirdness… thanks for the executable path update, that’s working great.

Read more comments on GitHub >

github_iconTop Results From Across the Web

10.2. About PAM Configuration Files Red Hat Enterprise Linux 7
Each PAM-aware application or service has a file in the /etc/pam.d/ directory. ... the module to create shadow passwords when updating a user's...
Read more >
pam module not updating files · Issue #24516 - GitHub
This will result in no change in /etc/pam.d/su file as module exists previously. You can try following Ansible Playbooks to have auth required ......
Read more >
Editing the /etc/pam.d files on Red Hat Enterprise Linux Server
This section describes how to edit the application-specific files of your choice in the /etc/pam.d directory to use the IBM PowerSC MFA PAM...
Read more >
Help with PAM and Stable Update 2020-08-28 - Support
My /etc/pam.d/system-login contains: auth required pam_tally2.so onerr=succeed ... and I have not had any login problems since the update.
Read more >
What modifies PAM files upon rpm installation to add ...
Additionally, there's a tool which can automatically update, can be used to backup and/or restore pam.d configuration files - that's ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found