On Fri, 10 Apr 1998, L. M. Marchese wrote:
> libcrypt: do you mean the crypt(3) function?

Yes, as packaged in the appropriate Python module. Unfortunately nobody
has bothered making a PAM module for Python, but that's ok -- just use
/etc/passwd and /etc/shadow as usual. It's only when you use alternatives
that it becomes a problem (e.g. NIS or RADIUS authentication). 

The reason I mention Python is because it is a very clean and
easy-to-learn scripting language that is very useful for doing things that
are difficult or impossible in plain old /bin/sh scripts. I have written
several large Python scripts and they are much easier to maintain and
modify than the equivalent Perl or /bin/sh scripts. (Don't even mention
"C"). 
> 
> I have found an EXPECT cgi program which changes the password using
> information passed to it through a web form.  Unfortunately, with my
> current version expect none of the password scripts (autopasswd, etc.)
> work.  Someone had mentioned previously that an earlier version of
> expect will solve the problem.

Hmm. You may wish to just examine the scripts to see what is going on. TCL
is really very simple, I learned enough of it to use EXPECT by reading the
O'Reilly book on EXPECT. 

> on the TCL/TK toolkits, do I have to change the the tcl/tk version.  I

That, alas, is a usual problem with TCL/TK. All my TCL/TK scripts broke
when I upgrade to RH 5.0 too, 'cause they upgraded TCL/TK. Stupid
language. None of my Python scripts have ever broke when they upgraded
Python. 

Eric Lee Green   [EMAIL PROTECTED]          Executive Consultants
Systems Specialist               Educational Administration Solutions
 "We believe Windows 95 is a walking antitrust violation" -- Bryan Sparks


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to