From 2bc44ad6df57bcab69627397ec6fe5a07f6833da Mon Sep 17 00:00:00 2001 From: cynic Date: Mon, 31 Oct 2022 12:04:10 -0400 Subject: [PATCH] fix useradd syntax --- tools/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/init.py b/tools/init.py index a25e5f6..857b459 100644 --- a/tools/init.py +++ b/tools/init.py @@ -29,7 +29,7 @@ subprocess.run(["git", "clone", "https://github.com/kurisufriend/cathedral", "/v subprocess.run(["cp", "-r", "/var/cathedral/tools/skel/*", "/etc/skel/"]) # * create new cathedral user -subprocess.run(["useradd", "-c", "cathedral", "-M", "-s", "/usr/bin/nologin"]) +subprocess.run(["useradd", "-c", "cathedral", "-M", "cathedral"]) # * give the new user recursive ownership of /var/cathedral subprocess.run(["chown", "-R", "cathedral:cathedral", "/var/cathedral"])