diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-07-21 06:35:20 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-07-21 06:35:29 +0000 |
commit | 6be6d78ca4978e3667965ee07abff4205b999087 (patch) | |
tree | b4495862bfa3c80f17b50f6de16ddbba949c7c46 /main/apache2/apache2.pre-install | |
parent | 6a0bb4f8ce4967ce039f312f5c7a8a8351783b4f (diff) | |
download | aports-6be6d78ca4978e3667965ee07abff4205b999087.tar.bz2 aports-6be6d78ca4978e3667965ee07abff4205b999087.tar.xz |
main/apache2: create users apache and make apache beloning to www-data
Diffstat (limited to 'main/apache2/apache2.pre-install')
-rw-r--r-- | main/apache2/apache2.pre-install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/main/apache2/apache2.pre-install b/main/apache2/apache2.pre-install new file mode 100644 index 0000000000..7b93899334 --- /dev/null +++ b/main/apache2/apache2.pre-install @@ -0,0 +1,5 @@ +#!/bin/sh +addgroup -g 82 -S www-data 2>/dev/null +adduser -H -h /var/www -s /sbin/nologin -D apache 2>/dev/null +addgroup apache www-data 2>/dev/null +exit 0 |