mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
Update initialization.sh
This commit is contained in:
@@ -4,9 +4,12 @@
|
||||
set -e
|
||||
|
||||
# introduce start9 username and embassy as default password
|
||||
usermod -l start9 -d /home/start9 -m pi
|
||||
groupmod --new-name start9 pi
|
||||
echo start9:embassy | chpasswd
|
||||
if ! [ $(users) = "start9" ]
|
||||
then
|
||||
usermod -l start9 -d /home/start9 -m pi
|
||||
groupmod --new-name start9 pi
|
||||
echo start9:embassy | chpasswd
|
||||
fi
|
||||
|
||||
passwd -l start9
|
||||
|
||||
|
||||
Reference in New Issue
Block a user