Commit 73a02804 authored by Tails developers's avatar Tails developers
Browse files

Free fixed UIDs/GIDs we need before creating the corresponding users.

parent 8707fd35
set -e
# Free the fixed GIDs we're using.
echo "Change GIDs"
TPS_GROUP_STEALER=$(getent group 122 | awk -F ':' '{print $1}')
if [ -n "$TPS_GROUP_STEALER" ]; then
groupmod --gid 150 "$TPS_GROUP_STEALER"
find / -wholename /proc -prune -o \( \! -type l -a -gid 122 -exec chgrp 150 '{}' \; \)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment