diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-09-25 22:24:38 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-09-25 22:24:38 +0200 |
commit | 961136d4994c98ef26f62e9abf6dcd5c06a2f16b (patch) | |
tree | acf5171b9e08659c609612f01ceca0d683dbca27 | |
parent | spremeni geslo ul za v cronjob (diff) | |
download | r-961136d4994c98ef26f62e9abf6dcd5c06a2f16b.tar r-961136d4994c98ef26f62e9abf6dcd5c06a2f16b.tar.gz r-961136d4994c98ef26f62e9abf6dcd5c06a2f16b.tar.bz2 r-961136d4994c98ef26f62e9abf6dcd5c06a2f16b.tar.lz r-961136d4994c98ef26f62e9abf6dcd5c06a2f16b.tar.xz r-961136d4994c98ef26f62e9abf6dcd5c06a2f16b.tar.zst r-961136d4994c98ef26f62e9abf6dcd5c06a2f16b.zip |
Diffstat (limited to '')
-rwxr-xr-x | skripti/spremeni_geslo_ul.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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` |