Changeset 628e601 for debian/postinst
- Timestamp:
- 2008-03-24T19:48:36Z (17 years ago)
- Branches:
- master
- Children:
- 483f8dd, 990d5fd
- Parents:
- 66c51bbf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/postinst
r66c51bbf r628e601 74 74 fi 75 75 76 adduser --system -- home /var/lib/bitlbee/ --disabled-login --disabled-passwordbitlbee76 adduser --system --group --disabled-login --disabled-password --home /var/lib/bitlbee/ bitlbee 77 77 chmod 700 /var/lib/bitlbee/ 78 78 79 79 ## Can't do this in packaging phase: Don't know the UID yet. Access to 80 ## the file should be limited, now that it stores passwords. 81 chmod 600 /etc/bitlbee/bitlbee.conf 82 chown bitlbee /etc/bitlbee/bitlbee.conf 80 ## the file should be limited, now that it stores passwords. Added 81 ## --group later for a little more security, but have to see if I can 82 ## apply this change to existing installations on upgrades. Will think 83 ## about that later. 84 if getent group bitlbee > /dev/null; then 85 chmod 640 /etc/bitlbee/bitlbee.conf 86 chown root:bitlbee /etc/bitlbee/bitlbee.conf 87 else 88 chmod 600 /etc/bitlbee/bitlbee.conf 89 chown bitlbee /etc/bitlbee/bitlbee.conf 90 fi 83 91 84 92 if [ -z "$2" ]; then
Note: See TracChangeset
for help on using the changeset viewer.