contrib/tor/pre-install
2020-12-13 18:21:04 +02:00

9 lines
191 B
Bash
Executable File

#!/bin/sh
/usr/bin/getent group tor || /usr/sbin/groupadd -r tor
/usr/bin/getent passwd tor || /usr/sbin/useradd -r -d /var/lib/tor -s /bin/false tor
/usr/bin/passwd -l tor
# End of file