Skip to content
Permalink
Browse files

Continue configuring user defaults

  • Loading branch information...
NEMS Linux
NEMS Linux committed Aug 24, 2019
1 parent 9d4eebe commit 9ed5c3b8f17e5139fa751db8f4baadf3d08e6796
Showing with 6 additions and 0 deletions.
  1. +6 −0 init.sh
@@ -214,6 +214,12 @@ else
/bin/sed -i -- 's/nemsadmin/'"$username"'/g' /etc/samba/smb.conf
systemctl restart smbd

if [[ $platform == 22 ]]; then
echo Configuring Amazon Web Services default user
/bin/sed -i -- 's/nemsadmin/'"$username"'/g' /etc/cloud/cloud.cfg
echo Done.
fi

echo Initializing new Nagios user
systemctl stop $nagios

0 comments on commit 9ed5c3b

Please sign in to comment.
You can’t perform that action at this time.