Filippo Carletti <[EMAIL PROTECTED]> said:
> AFAIK, direct modifications to the user table need a mysqladmin reload. > GRANT privs no. Correct, and I detailed this in my original post ;-> Look for '/usr/bin/mysqladmin --password=$pw reload' under %post below: [reprint] %post pw=`/bin/cat /etc/openldap/ldap.pw` /bin/echo exit | /usr/bin/mysql --password=$pw myphpnuke 2>&1 &> /dev/null if [ "$?" = "1" ] ; then /bin/echo "Creating database..." /usr/bin/mysqladmin --password=$pw create myphpnuke /bin/echo "grant all on myphpnuke.* to myphpnuke@localhost identified by 'myphp!nuke';" | /usr/bin/mysql --password=$pw /usr/bin/mysql --password=$pw myphpnuke < /opt/groupware/myphpnuke/html/sql/myphpnuke.sql /usr/bin/mysqladmin --password=$pw reload fi /sbin/e-smith/db accounts set mpn reserved /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf /etc/e-smith/events/actions/restart-httpd-graceful %preun %postun /sbin/e-smith/db accounts delete mpn /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf /etc/e-smith/events/actions/restart-httpd-graceful [/reprint] Regards, -- Darrell May DMC Netsourced.com http://netsourced.com http://myEZserver.com -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org
