[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: webmin useing pam (and ldap)



* Andreas Schuldei (andreas@schuldei.org) [040417 01:17]:
> i have configured webmin to use pam (and through that /etc/passwd
> or ldap, depending on the where the user is stored).

my configuration changes are attached.

some files seem to be modified by cfengine allready. this might
make things easier.
auth       sufficient pam_unix.so
auth       required   pam_ldap.so use_first_pass
account    sufficient pam_unix.so
account    required   pam_ldap.so
session    required   pam_unix.so
password   required   pam_unix.so nullok obscure min=4 max=8 md5
diff -urbB etc/webmin/miniserv.conf /etc/webmin/miniserv.conf
--- etc/webmin/miniserv.conf	Wed Apr  9 05:43:40 2003
+++ /etc/webmin/miniserv.conf	Fri Apr 16 23:19:21 2004
@@ -16,10 +16,12 @@
 keyfile=/etc/webmin/miniserv.pem
 blockhost_time=300
 no_pam=0
+pam=webmin
+unixauth=pam
 passdelay=1
 session=1
 blockhost_failures=3
diff -urbB etc/webmin/webmin.acl /etc/webmin/webmin.acl
--- etc/webmin/webmin.acl	Wed Apr  9 05:43:40 2003
+++ /etc/webmin/webmin.acl	Fri Apr 16 23:21:40 2004
@@ -1 +1,2 @@
-root: acl servers webmin webminlog
+root:                                    acl servers webmin webminlog cupsadmin apache bind dhcpd exports grub inetd samba software squid status sshd slbackup raid lvm quota ldap-netgroups ltsp ldap-users
+pam:                                     ldap-users	
pam:x:0::
root:x:0::

Reply to: