thanks, the fix works.
The part with logging inserted should look like this:
with open(os.path.join('/etc/pam.d', f)) as f: for f in os.listdir('/etc/pam.d'): print ("Rob says: " + f) content = f.read()
and yes it was also an *.swp file in my case.
Thanks for your research
thanks, the fix works.
The part with logging inserted should look like this:
with open(os. path.join( '/etc/pam. d', f)) as f: '/etc/pam. d'):
for f in os.listdir(
print ("Rob says: " + f)
content = f.read()
and yes it was also an *.swp file in my case.
Thanks for your research