Download raw body.
gotd regress useradd/grop
On Mon, Oct 31, 2022 at 11:40:43AM +0100, Omar Polo wrote: > 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.) That's great. ok stsp > 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 > >
gotd regress useradd/grop