Hide old scripts

This commit is contained in:
2021-10-16 15:15:59 -04:00
parent b2d495dadc
commit 6116185ce4
2 changed files with 1 additions and 10 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
old/

View File

@@ -1,10 +0,0 @@
#!/usr/bin/env bash
users=$(for s in /home/*; do echo "${s##*/}"; done)
subuid_start=100000
incr=65536
for user in ${users[@]}; do
uid=$(id -u "$user")
echo "$user:$subuid_start:$incr" >> /etc/subuid
echo "$user:$subuid_start:$incr" >> /etc/subgid
subuid_start=$((subuid_start + 100000))
done