From e8aa6618594f99a9d8ea4045f868d51e1040f054 Mon Sep 17 00:00:00 2001 From: pkgdemon Date: Sat, 13 Jan 2024 17:58:14 -0500 Subject: [PATCH] Do not create root password --- installer/backend.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/installer/backend.py b/installer/backend.py index 1e07789..c73e929 100755 --- a/installer/backend.py +++ b/installer/backend.py @@ -216,9 +216,6 @@ def user(): """ Creates the users and groups. """ - # Set root password - subprocess.run(["chroot", MNT, "echo", f"root:{PASSWORD}", "|", "chpasswd"], check=True) - # Add user and set password subprocess.run(["chroot", MNT, "useradd", "-m", "-g", "users", "-G", "wheel", USERNAME], check=True) subprocess.run(["chroot", MNT, "echo", f"{USERNAME}:{PASSWORD}", "|", "chpasswd"], check=True)