Hello On 2005-06-28 sean finney wrote: > On Tue, Jun 28, 2005 at 10:07:05PM +0200, Olaf van der Spek wrote: > > >or better, what if we prompt for the root password via debconf, and then > > >if the answer is non-blank, set the password? this wouldn't be very > > >hard to do. > > > > The disadvantage would be another question. > > As I prefer random passwords, I'd vote against it. :) > > I'm not sure what kind of passwords others prefer, but I guess a > > question is reasonable. > > somewhere in /var). also, if we generated a random password for root and the > user missed the info, they'd probably be frustrated for a bit before finding > in a README.debian the information about what/where their password is.
Yes, people tend to just press enter during the installation :) > also, now that i think about it, we could put something in the postinst > that checks if it could connect to the mysql server w/o a password after > starting the server, and if so prompts the admin whether with an > ignore-and-continue/get-password/random-password choice of higher priority. Maybe just a warning note? Actually setting the password should be nothing we should clutter up our scripts with (they are grown too big anyway IMHO) as that's really something the local admin is in charge of. This warning should probably also only displayed once (as it's Debconf default) to not annoy the admins that do not want a password on their database (my desktop has mysql installed to quickly try out things when I'm doing work on another machine e.g.) bye, -christian- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]