[Webcalendar] webcal conversion
Rob Janssen
r.janssen a t uw.nl
Wed, 26 Apr 2006 21:35:17 +0200
Lucy Upchurch schreef:
> Thanks for the prompt reply. I think I found the problem. In my passwd
> file that I copied, none of the passwords are encrypted. They are all
> plain text. However, the test one I created has an encrypted passwd. I
> suppose there is something about setting encryption somewhere that is
> set or in passwd.
>
> Is there any admin documentation for webcal?
>
> Lucy
Ok, I checked the Perl code and indeed the passwords are stored in
plaintext when the OS is Windows.
Probably the crypt() routine is not available in Windows...
In Linux the passwords are always crypted. There is some logic that
chooses between an old and a new method of encryption, but no plaintext.
It would be possible to write a perl program by cutting some functions
out of webcalAuth.pm that converts the passwd file.
Maybe Maorong already has done this, let's wait for any reply...
When there are only a few users, it seems easier to manually reset all
their passwords while logged in as an administrator.
(using the plaintext passwd file as a guide)
The entries in the file should then appear crypted.
Rob