[webmin-devel] Webmin PAM Authentication

"Clément VERET" <[email protected]>
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
Hi everyone, I'm back :).

Just a little suggestion for the redhat-compliant systems. In the
/etc/pam.d/webmin, replace the classic :
auth     required    pam_unix.so etc....

By the more conventionnal :
auth include system-auth

This allows Webmin on redhat-compliant system to authenticate users
upon the Directory chosen by the administrator (so local, LDAP, NIS,
etc...) instead of systematically authenticate upon local /etc/passwd
base.

See the joined patch.

I'm conscious that authentication is a sensible part of the system so
I can imagine it will be hard to include to Webmin. But maybe it can
help ;).
-- 
Clément Véret

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel
webmin-pam.patch (application/octet-stream, 418 B)
diff -aburN webmin-1.380.ori/webmin-pam webmin-1.380/webmin-pam
--- webmin-1.380.ori/webmin-pam	2007-11-03 23:22:32.000000000 +0100
+++ webmin-1.380/webmin-pam	2007-11-05 16:29:13.000000000 +0100
@@ -1,4 +1,4 @@
 #%PAM-1.0
-auth	required	pam_unix.so	nullok
-account	required	pam_unix.so
-session	required	pam_unix.so
+auth	include		system-auth
+account	include         system-auth
+session	include         system-auth
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.