June 1, 2024

Antminer S9 board - setting up users on linux

First, a warning. Almost all of the files are owned by UID 1000, and there is no such user. If you just naively run "adduser", it will create the first user with this UID, which will not be the best thing.

The easiest thing is to go ahead and create a first user. Call that user "system" or some such, then get on with creating a user for yourself., i.e. do this:

login as root
adduser system
adduser tom
This will give "tom" uid 1001, which hopefully is not used in some way already.

Also, take a look in /usr/sbin. We have:

cd /usr/sbin
ls -l *user*
lrwxrwxrwx    1 system   system          19 Jul  1  2019 adduser -> /bin/busybox.nosuid
lrwxrwxrwx    1 system   system          19 Jul  1  2019 deluser -> /bin/busybox.nosuid
-rwxr-xr-x    1 system   system       35580 Apr 19  2017 newusers
-rwxr-xr-x    1 system   system       56552 Apr 19  2017 useradd
-rwxr-xr-x    1 system   system       35732 Apr 19  2017 userdel
-rwxr-xr-x    1 system   system       56328 Apr 19  2017 usermod
So, we have a variety of tools for administrating users, which I have yet to investigate or explore.
Feedback? Questions? Drop me a line!

Tom's Computer Info / tom@mmto.org