blob: fb6436199c278873a5cfd0b0b53a85665aa6cc04 [file] [log] [blame]
Skyler Grey09c14112023-02-19 23:41:20 +00001#!/usr/bin/env bash
2
3read -r uid < /proc/self/loginuid ||:
4chown -h "$uid" "$(tty)";
5exec sudo -u "#$uid" -- vlock -a