On Tue, Nov 23, 2021 at 04:31:19PM +0100, Leon Fischer wrote: > I had trouble finding what program kept randomly creating /etc/group.bak > and it turns out to be adduser(8)'s fault. > > This documents group.bak so it can be found by apropos(1). > While here, document all the other .bak files that adduser(8) creates. >
hi. sorry i forgot to chase this up. as far as i can see it's correct, and i'm fine with the addition. unless i hear contrary from any other developers, i'll commit this shortly... jmc > Index: adduser.8 > =================================================================== > RCS file: /cvs/src/usr.sbin/adduser/adduser.8,v > retrieving revision 1.46 > diff -u -p -r1.46 adduser.8 > --- adduser.8 9 Jun 2017 16:46:57 -0000 1.46 > +++ adduser.8 23 Nov 2021 15:26:31 -0000 > @@ -334,6 +334,8 @@ is run. > user database > .It Pa /etc/group > group database > +.It Pa /etc/group.bak > +backup of original group database > .It Pa /etc/shells > shell database > .It Pa /etc/ptmp > @@ -341,9 +343,13 @@ lock file for the passwd database > .It Pa /etc/adduser.conf > configuration file for > .Nm adduser > +.It Pa /etc/adduser.conf.bak > +backup of original configuration file > .It Pa /etc/adduser.message > message file for > .Nm > +.It Pa /etc/adduser.message.bak > +backup of original message file > .It Pa /etc/skel > skeletal login directory > .It Pa /var/log/adduser >