Skip to content

Commit

Permalink
remove creation of user "user"
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Schleizer committed May 13, 2019
1 parent 788372c commit 3d4e037
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions debian/usability-misc.postinst
Expand Up @@ -21,26 +21,6 @@ case "$1" in

adduser --no-create-home --home /nonexistent --quiet --system --group --shell /bin/false "tunnel" || true

user_account_list="user"

for user_account in $user_account_list ; do
if ! id "$user_account" >/dev/null 2>&1 ; then
if command -v qubesdb-read >/dev/null 2>&1 ; then
password=""
else
## setting password of user $user_account to changeme
##
## How this password was created:
## sudo apt-get install whois
## mkpasswd
## changeme
## Resulted in: aTayYxVyw5kDo
password="aTayYxVyw5kDo"
fi
useradd --create-home --password "$password" --user-group --shell /bin/bash "$user_account" || true
fi
done

if command -v qubesdb-read >/dev/null 2>&1 ; then
true
else
Expand Down

0 comments on commit 3d4e037

Please sign in to comment.