Skip to content

Commit

Permalink
Set user, group and mode for /etc/systemd
Browse files Browse the repository at this point in the history
Set ownership and permission of all files copied to /etc/systemd to
root:root and 0644. Previously the files did belong to grml:grml.
  • Loading branch information
jkirk committed Nov 19, 2016
1 parent 5cd3431 commit 7082b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/grml/fai/config/scripts/GRMLBASE/15-initsetup
Expand Up @@ -16,7 +16,7 @@ set -e
. "$GRML_LIVE_CONFIG"

systemd_setup() {
fcopy -i -B -v -r /etc/systemd
fcopy -M -i -B -v -r /etc/systemd

echo "Enabling user '$USERNAME' for autologin"
sed -i "s/\$USERNAME/$USERNAME/" "$target"/etc/systemd/system/getty@tty*.service.d/override.conf
Expand Down

0 comments on commit 7082b9e

Please sign in to comment.