Tobias Frost, 2014-09-27 17:02+0200:
On a friendi's machine we just installed dokuwiki with lighttpd as webserver. During installation, debconf askes for a password as intended. However, the password is not set when trying to login (login error, wrong password) Instead, the "default" password, as stated in README.Debian does work.
This is strange, since my config script is supposed to set that default password only if the question is not to be shown:
my @ret = input("high", "dokuwiki/wiki/password"); input("high", "dokuwiki/wiki/confirm"); my $skipped = 0; if ($ret[0] == 30) { # debconf is configured to skip even high priority questions; # this is insane but we will have to set a default password # nonetheless $skipped = 1; } @ret = go(); if ($skipped) { set("dokuwiki/wiki/password", "fix-your-debconf-settings"); set("dokuwiki/wiki/confirm", "fix-your-debconf-settings"); } Before I add some additional safety, like`if ($skipped && get("dokuwiki/wiki/password") eq "")`, could you by chance tell me how debconf is configured on that server?
-- ,--. : /` ) ن Tanguy Ortolo <xmpp:tan...@ortolo.eu> | `-' Debian Developer <irc://irc.oftc.net/Tanguy> \_
signature.asc
Description: Digital signature