> 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

_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Reply via email to