Merge "qpidd user should own sasldb file"

This commit is contained in:
Jenkins 2014-03-26 09:57:04 +00:00 committed by Gerrit Code Review
commit 0e6531e3ca

View File

@ -6,5 +6,6 @@ password=$(os-apply-config --key qpid.password)
sasldb_file=$(grep sasldb_path /etc/sasl2/qpidd.conf | cut -d \: -f 2 | cut -d " " -f 2)
echo "$password" | saslpasswd2 -c -p -f $sasldb_file -u QPID $username
chown qpidd.qpidd $sasldb_file
service qpidd restart