1 May 2006 16:22
Permissions on the password database may be too restrictive
Bent Bagger <bbagger <at> gmail.com>
2006-05-01 14:22:45 GMT
2006-05-01 14:22:45 GMT
Hi I teach a Linux course at the Engineering College in Copenhagen and the subject next time is PAM. To demonstrate how to use PAM I have taken a small program from the O'Reilly book "Linux Security Cookbook" (p.74). Trying to execute the compiled program results in this error message: Permissions on the password database may be too restrictive The funny (?) thing is that if I make /etc/shadow world readable with chmod, the program runs succesfully. This, however, is not a workaround, I like! I hope one of you can provide me with a better solution. Here are some details about my setup: My distribution is Suse 10.0, /etc/nsswitch has both passwd and shadow set to 'compat'. My configuration file in /etc/pam.d is this: # # /etc/pam.d/my_applic # # configuration file for PAM-aware program # auth required pam_unix2.so debug account required pam_unix2.so and finally, here is the application itself: ==============(Continue reading)
RSS Feed