qpidd user should own sasldb file

The file is currently created as root but should by owned by qpidd.

Change-Id: I1e02f52481fcc8de0f4fe8896b2d7833e6273e44
This commit is contained in:
Richard Su 2014-03-20 13:01:35 -07:00
parent bbc2ae852c
commit 4c4f957f63
1 changed files with 1 additions and 0 deletions

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