diff --git a/sbin/seagl-reset-users b/sbin/seagl-reset-users index fc075d4..72405ea 100755 --- a/sbin/seagl-reset-users +++ b/sbin/seagl-reset-users @@ -7,8 +7,8 @@ if ! [ $(id -u) == 0 ]; then exit 1 fi -# Delete all existing users except root -grep -v '^root' /etc/passwd | cut -d: -f1 | xargs -n 1 userdel -f -r +# Delete all existing users except root (and firebird?? TODO what is this????) +grep -ve '^root' -e '^firebird' /etc/passwd | cut -d: -f1 | xargs -n 1 userdel -f -r # Password hash corresponds to `password` adduser seagloperator -mp '$y$j9T$emVbho1jsDyzxlJVlATJU.$GYps0oI9FuW.WC3KCXZQkRDq8zGV0gjDIuJLAK1mtP8'