Permalink
Browse files

reenable shell access

  • Loading branch information...
1 parent 6b7d35a commit 799eda36a574b8a322519cbbe52ec1581fc9faf4 @scalp42 committed May 24, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −4 nagiosautoinstall-ubuntu.sh
@@ -35,12 +35,9 @@ installation() {
echo "----------------------------------------------------"
echo "Creation utilisateur nagios et groupe nagios"
echo "----------------------------------------------------"
- useradd -M -s /bin/noshellneeded nagios
+ useradd -m -G www-data -s /bin/bash nagios
echo "Fixer un mot de passe pour l'utilisateur nagios"
passwd nagios
- groupadd nagios
- usermod -G nagios nagios
- usermod -G nagios www-data
# Recuperation des sources
echo "----------------------------------------------------"

0 comments on commit 799eda3

Please sign in to comment.