Merge pull request #7500 from akhildevelops/patch-1

Updated docs to delete build users and group
This commit is contained in:
Eelco Dolstra 2023-01-05 17:25:06 +01:00 committed by GitHub
commit d02c5a41da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -120,10 +120,10 @@ sudo rm -rf /nix /etc/nix /etc/profile/nix.sh ~root/.nix-profile ~root/.nix-defe
Remove build users and their group:
```console
for i in $(seq 30001 30032); do
sudo userdel $i
for i in $(seq 1 32); do
sudo userdel nixbld$i
done
sudo groupdel 30000
sudo groupdel nixbld
```
There may also be references to Nix in