Skip to content

Commit 2e068f1

Browse files
committed
remove user ownership for /root
1 parent 71c144e commit 2e068f1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

template/template.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,6 @@ def make_template(
137137
template = template.run_cmd(
138138
"echo 'user ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
139139
)
140-
# own everything in /root to user
141-
template = template.run_cmd("chown -R user:user /root")
142140

143141
template = template.set_user("user").set_workdir("/home/user")
144142

0 commit comments

Comments
 (0)