Blade UID/GID assignment issues.
stigtsp opened this issue · comments
uid 1007 shares gid 1007 with uid 1021, etc... Not sure how this happened, but should be fixed.
Example:
This newly created user:
hackerietweb:x:1024:1010:,,,:/home/hackerietweb:/usr/sbin/nologin
Shares gid with this old user:
[redacted]:x:1010:1010:,,,:/home/[redacted]:/bin/bash
Data has probably been synched from a previous installation, and users / groups have been probably been added manually. Looks like DEVS
There are a lot of these GID/UID issues. Some of which have already been fixed by hand. Nix could potentially be nice for such a shared system.
The machine itself is old, and should be replaced with new hardware that does not use so much electricity. Honestly it does not need to be a NUC, could be something like this
Would be interesting to use NixOps for the shared infra. There is a setup of this here:
https://github.com/hackeriet/nixops/blob/master/common/users.nix
This repo controls 3 virtual machines today:
nux.hackeriet.no
isbit.hackeriet.no
d.hackeriet.no
To get access to all of them, update users.nix and GitHub Actions will rebuild the machines. (There is currently no locking on the actions workflow, so beware).
The machine is already a virtual machine.
Regarding NixOps or what ever: As long as nothing breaks i'm fine with whatever the persons that wants to do something with it does :)
But maybe we should break the different services up into different virtual machines?
Time passes, this is probably moot.