summarylogtreecommitdiffstats
path: root/postsrsd.install
diff options
context:
space:
mode:
authorfordprefect2019-01-12 18:46:04 +0100
committerfordprefect2019-01-12 18:46:04 +0100
commit53589ee67711e6e57ce59d41afde26614572bb84 (patch)
tree82d7a40cf6281ba699de97a2fa867c4af3b8d443 /postsrsd.install
parent4dcce06c81433b1764c2f7cbc4ab2f78c305f09f (diff)
downloadaur-53589ee67711e6e57ce59d41afde26614572bb84.tar.gz
fixed user creation
Diffstat (limited to 'postsrsd.install')
-rw-r--r--postsrsd.install10
1 files changed, 2 insertions, 8 deletions
diff --git a/postsrsd.install b/postsrsd.install
index b8e7f8d5aed1..e185b08c05b6 100644
--- a/postsrsd.install
+++ b/postsrsd.install
@@ -1,15 +1,9 @@
post_install() {
- useradd -r -g mail -d / postsrsd
+ #useradd -r -g mail -d / postsrsd
chown -R postsrsd:root etc/postsrsd
[ -e /etc/postsrsd/postsrsd.secret ] || dd if=/dev/urandom bs=18 count=1 status=none | base64 > /etc/postsrsd/postsrsd.secret
chown postsrsd:root /etc/postsrsd/postsrsd.secret
chmod 400 /etc/postsrsd/postsrsd.secret
- cat << _EOF
-Don't forget to set your domainname in /etc/postsrsd/postsrsd.conf
-_EOF
-}
-
-post_remove() {
- userdel postsrsd
+ echo "Don't forget to set your domainname in /etc/postsrsd/postsrsd.conf"
}