Ubuntu
This commit is contained in:
@@ -38,9 +38,13 @@ mkdir /home/$USERNAME/.ssh \
|
||||
&& chown -R $USERNAME:$USERNAME /home/$USERNAME \
|
||||
|| exit 3
|
||||
|
||||
if [ -d /var/lib/AccountsService/users ]; then
|
||||
if [ -e $DEBFLAG ]; then
|
||||
if [ "$(cat $DEBFLAG)" == "buster/sid" ]; then
|
||||
if [ -d /var/lib/AccountsService/users ]; then
|
||||
echo "[User]">/var/lib/AccountsService/users/$USERNAME
|
||||
echo "SystemAccount=true">>/var/lib/AccountsService/users/$USERNAME
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -e $DEBFLAG ]; then
|
||||
|
||||
Reference in New Issue
Block a user