From 961136d4994c98ef26f62e9abf6dcd5c06a2f16b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Mon, 25 Sep 2023 22:24:38 +0200 Subject: umask --- skripti/spremeni_geslo_ul.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'skripti') diff --git a/skripti/spremeni_geslo_ul.sh b/skripti/spremeni_geslo_ul.sh index f2e5686..533bba5 100755 --- a/skripti/spremeni_geslo_ul.sh +++ b/skripti/spremeni_geslo_ul.sh @@ -5,6 +5,7 @@ read s echo vpiši novo geslo read n p=`rev <<<$0 | cut -d/ -f1 | rev` +umask 0077 t=`mktemp -p "" $p.XXX` trap "rm $t" EXIT r=`curl --cookie $t --cookie-jar $t https://id.uni-lj.si/DigitalnaIdentiteta/SpremembaGesla | grep RequestVerificationToken | tail -n1 | cut -d\" -f6` -- cgit v1.2.3