Gitiles
Code Review
Sign In
git.clicks.codes
/
Minion
/
NixFiles
/
1fcb0b2a7a8d45e22e5e2e5ad82fb83580bc53b3
/
.
/
modules
/
security
/
onLock.sh
blob: fb6436199c278873a5cfd0b0b53a85665aa6cc04 [
file
] [
log
] [
blame
]
#!/usr/bin/env bash
read
-
r uid
<
/
proc
/
self
/
loginuid
||:
chown
-
h
"$uid"
"$(tty)"
;
exec sudo
-
u
"#$uid"
--
vlock
-
a