[CentOS] tracking samba changes

Sat Mar 6 09:04:18 UTC 2021
Simon Matter <simon.matter at invoca.ch>

> On Fri, 5 Mar 2021, Christopher Wensink wrote:
>
>> Typically I just adjust who is a member of the group by editing the
>> group
>> using vi /etc/group
>
> Editing /etc/group is not recommended.  Changes aren't logged and it's
> easy to make mistakes.  It's better to use:
>
>     groupadd to create groups
>     gpasswd to add or remove users
>
> (usermod can also add users to a group but gpasswd is safer).

Or at least use vigr do modify /etc/group.

Simon