Re: tracking samba changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> 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@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux