1Description: 2 A cgi to allow users to change their passwords via a web browser. 3 4Installation: 5 Drop this into a cgi-enabled directory on your webserver. 6 Edit it and change the CONFIGURATION section to suit your environment. 7 READ THE NOTES SECTION. 8 9Notes: This script will run as the user who runs your web server. So, to invoke the smbpasswd call, you must implement sudo. 10 Example of /etc/sudoers: 11 12 # Host alias specification 13 # User alias specification 14 User_Alias PASSWD = apache 15 # Cmnd alias specification 16 Cmnd_Alias PASSWD = /usr/bin/smbpasswd 17 # User privilege specification 18 root ALL=(ALL) ALL 19 PASSWD ALL= NOPASSWD: PASSWD 20 21 This concept is probably very insecure and broken. That is why this is a 0.1 release. :) 22 23 24Feel free to drop me suggestions. I am a perl learner so I am always open to suggestions. 25 26Terry Davis 27tdavis@approbation.org 28