From dd6b00485672e7d86c3cdae838241c65837a96d1 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Sat, 10 Jun 2023 19:28:48 +0200 Subject: [PATCH] =?utf8?q?Dodanie=20dowi=C4=85zania=20symbolicznego=20.fac?= =?utf8?q?e.icon=20do=20katalog=C3=B3w=20domowych=20u=C5=BCytkownik=C3=B3w?= =?utf8?q?=20(funkcja=20recreate=5Fusers)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- versions/template.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/versions/template.sh b/versions/template.sh index 7b86f0c..da9dc98 100644 --- a/versions/template.sh +++ b/versions/template.sh @@ -23,6 +23,7 @@ function recreate_users() { tar -xvf ~/immudex/files/${VERSION}/local_user.tar -C /home/user/.local; rm /home/user/.face; cp /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png /home/user/.face; + ln -s /home/user/.face /home/user/.face.icon; chown -R user:user /home/user; echo "user:user1" | chpasswd; @@ -35,6 +36,7 @@ function recreate_users() { tar -xvf ~/immudex/files/${VERSION}/local_xf0r3m.tar -C /home/xf0r3m/.local; rm /home/xf0r3m/.face; cp /usr/share/images/desktop-base/immudex_xfce_greeter_logo.png /home/xf0r3m/.face; + ln -s /home/xf0r3m/.face /home/xf0r3m/.face.icon; chown -R xf0r3m:xf0r3m /home/xf0r3m; echo "xf0r3m:xf0r3m1" | chpasswd; -- 2.39.5