* Thu Sep 30 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.84-12.sme

- Attempt to fix the final reload after CA creation [SME: 11192]
This commit is contained in:
2025-09-11 00:03:08 -04:00
parent 245e1bcd0b
commit a747530268
35 changed files with 3917 additions and 2796 deletions

11
root/secure.sh Executable file → Normal file
View File

@@ -1,4 +1,4 @@
#!/bin/bash
#! /bin/bash
owner="`id -nu`"
@@ -27,15 +27,16 @@ then
echo "The file you specified does not yet exist."
echo "Let's create it and add your first user."
echo
read -p "Enter a user id: " $user_id
read -p "Enter a user id: " user_id
echo "Creating the '$user_id' user account..."
htpasswd -m "$passwd_file" "$user_id" || exit
echo "Creating the $user_id user account..."
htpasswd -c -m "$passwd_file" "$user_id" || exit
echo "Creating the administrator account..."
echo "See the README file for more information about the"
echo "'pkiadmin' user."
htpasswd -c -m "$passwd_file" 'pkiadmin' || exit
htpasswd -m "$passwd_file" 'pkiadmin' || exit
fi
echo