Skip to content

Commit a423314

Browse files
authored
Merge pull request #2 from erkanisik1/main
Update postinstall.py
2 parents b7a52fa + 8a7868f commit a423314

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

yali/postinstall.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,12 @@ def initbaselayout():
6262
yali.util.cp("usr/share/baselayout/ld.so.conf", "etc/ld.so.conf")
6363

6464
# /etc/passwd, /etc/shadow, /etc/group
65-
yali.util.cp("usr/share/baselayout/passwd", "etc/passwd")
66-
yali.util.cp("usr/share/baselayout/shadow", "etc/shadow")
67-
os.chmod(os.path.join(ctx.consts.target_dir, "etc/shadow"), 0o600)
68-
yali.util.cp("usr/share/baselayout/group", "etc/group")
65+
66+
# aşağıdaki 4 satır 20-05-2022 tarihinde kapatıldı
67+
#yali.util.cp("usr/share/baselayout/passwd", "etc/passwd")
68+
#yali.util.cp("usr/share/baselayout/shadow", "etc/shadow")
69+
#os.chmod(os.path.join(ctx.consts.target_dir, "etc/shadow"), 0o600)
70+
#yali.util.cp("usr/share/baselayout/group", "etc/group")
6971

7072
# create empty log file
7173
yali.util.touch("var/log/lastlog")

0 commit comments

Comments
 (0)