aboutsummaryrefslogtreecommitdiffstats
path: root/INSTALL
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-27 03:32:46 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-27 03:32:46 +0200
commitaa3340e58fc5b993bfc88070edf543a2ed82ef94 (patch)
treec2befe421e70971fd89be72073833b208b919ef2 /INSTALL
parent7672946edb73d485e5eb0ffd75964f2cea2caaa0 (diff)
Fixing unicode.
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL14
1 files changed, 9 insertions, 5 deletions
diff --git a/INSTALL b/INSTALL
index 885b217..e40587b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -24,15 +24,16 @@ apt-get install libnet-ldap-perl \
# Configuration
-mkdir -p /etc/fripost-panel/gnupg
-chown www-data:www-data /etc/fripost-panel/gnupg && chmod 0700 /etc/fripost-panel/gnupg
-cp ./config.in /etc/fripost-panel/
-chown www-data:www-data /etc/fripost-panel/config.in && chmod 0600 /etc/fripost-panel/config.in
+sudo adduser --system fpanel --home /var/lib/fripost-panel --shell /bin/false --group www-data
+sudo mkdir -p /etc/fripost-panel/ /var/lib/fripost-panel/gnupg
+sudo chown fpanel:nogroup /var/lib/fripost-panel/gnupg && sudo chmod 0700 -R /var/lib/fripost-panel/
+sudo -u fpanel cp ./config.in /etc/fripost-panel/ && sudo chmod 0600 /etc/fripost-panel/config.in
+sudo chown -R fpanel:www-data /etc/fripost-panel/
# Edit /etc/fripost-panel/config.in
# Create a GPG key
-sudo -u www-data gpg --homedir /etc/fripost-panel/gnupg/ --gen-key
+sudo -u fpanel gpg --homedir /var/lib/fripost-panel/gnupg/ --gen-key
# (1) RSA and RSA (default)
# What keysize do you want? (2048) 4096
# Real name: Fripost Admin Panel
@@ -40,3 +41,6 @@ sudo -u www-data gpg --homedir /etc/fripost-panel/gnupg/ --gen-key
# Comment:
# You selected this USER-ID:
# "Fripost Admin Panel <AdminWebPanel@fripost.org>"
+
+# Kerberos
+# TODO