fix useradd syntax

master
cynic 3 years ago
parent 8469729eea
commit 2bc44ad6df
  1. 2
      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/"]) subprocess.run(["cp", "-r", "/var/cathedral/tools/skel/*", "/etc/skel/"])
# * create new cathedral user # * 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 # * give the new user recursive ownership of /var/cathedral
subprocess.run(["chown", "-R", "cathedral:cathedral", "/var/cathedral"]) subprocess.run(["chown", "-R", "cathedral:cathedral", "/var/cathedral"])

Loading…
Cancel
Save