Authorise tout le monde a lire /etc/mailname

This commit is contained in:
Alan Garcia 2012-08-22 15:17:11 +00:00
parent 6378f3b323
commit 96103487b9
1 changed files with 2 additions and 0 deletions

View File

@ -335,6 +335,8 @@ fi
# #
mailname=`cat /etc/mailname` mailname=`cat /etc/mailname`
mysql_query "update variable SET value='"$mailname"' where name='mailname_bounce';" mysql_query "update variable SET value='"$mailname"' where name='mailname_bounce';"
# Allow for all the users to view /etc/mailname
chmod +r "/etc/mailname"
####################################################################### #######################################################################
# Save installed files to check them during next install # Save installed files to check them during next install