"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Omar Polo <op@omarpolo.com>
Subject:
gotd regress useradd/grop
To:
gameoftrees@openbsd.org
Cc:
Date:
Mon, 31 Oct 2022 11:40:43 +0100

Download raw body.

Thread
If I'm not mistaken, both got and gotdev should be in the gotsh
group, so let's try to make that clear.  Secondly, there's a typo
in `addgroup' (it's `groupadd` ;-) and finally while here change
the example to use useradd (non-interactive.)


diff /home/op/w/got
commit - 15f404b1ceddb96797adc6a015786806435fc153
path + /home/op/w/got
blob - e45f172997d4e491bc2a34fe0494284c43c94cfb
file + regress/gotd/README
--- regress/gotd/README
+++ regress/gotd/README
@@ -1,12 +1,11 @@
 Running server regression tests requires some manual system preparation.
 
 Two dedicated user accounts and a group must be created. Password login
-for these users should be disabled by passing a blank password to useradd
-and confirming useradd's question about disabling passwords with 'yes'.
+for these users should be disabled.
 
- $ doas adduser got
- $ doas adduser gotdev
- $ doas addgroup gotsh
+ $ doas groupadd gotsh
+ $ doas useradd -m -G gotsh got
+ $ doas useradd -m -G gotsh gotdev
 
 The above user and group names correspond to defaults used by the test suite.
 If needed, the defaults can be overridden on by passing values for the