What is the alternative to PAM in Slackware?
For example, a machine I have runs Centos 6 and hosts a website, when I click on a certain link (ive made it do this) a dialog box opens up asking for username/password authentication over https which uses PAM (local accounts are still being used). How could this be done on Slackware without PAM (I am not actually asking how this would get done, but what would be used rather than PAM)?
|
The estimable V. Batts has (more or less) resolved that pesky PAM problem for us, so plain old PAM is an option.
If you don't want to use PAM for a web server, you can use CGI scripts or PHP code to simulate the same functionality, without the security. |
Quote:
|
Possibly this - https://code.google.com/p/mod-auth-external
This is not a recommendation. I haven't used it and have no idea how secure it is but it may help. |
Quote:
In your httpd.conf you'd add lines that look like this for a dual authentication against the shadow database (which uses pwauth - included in my package) as well as a speparate htaccess file with custome accounts (for instance people you do not want to give shell access): Code:
...... |
Quote:
The first two paragraphs should help you better understand "why PAM instead of the local authentication subsystem ?". Quote:
Quote:
;) |
All times are GMT -5. The time now is 11:26 AM. |