I don't think setting a random password is a good idea.

1. Are there any other applications where random passwords are set (that
you need)?

2. MySQL by default does not listen on a (remote) network interface.

3. I cannot name one distribution that sets a random password to mysql,
this would lead to a lot of questions.

4. You need to store it somewhere on the disk.

I therefore still prefer offering a script using the skip-stuff, be it
in an init script or not. It could of course also be a /usr/sbin or
/usr/local/sbin script named "mysql_set_rootpass" or something like
this. Such script could also be easily given back to the debian project.
If you still want to warn the user you could check the mysql password on
start (starting mysql ... mysql has no password set ... please do xyz)
which could be stopped by setting a flag in a config script.

-- 
Root password policy for mysql
https://bugs.launchpad.net/bugs/119075
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to