Den 2020-07-06 kl. 07:49, skrev ToddAndMargo via users:
> On 2020-07-05 21:47, Tom H wrote:
>> On Mon, Jul 6, 2020 at 12:59 AM ToddAndMargo via users
>> <users@lists.fedoraproject.org> wrote:
>>>
>>> $ grep -i users group
>>> users:x:100:todd
>>> libvirt:x:977:root:users
>>
>> Are you sure that you can nest a group within another in "/etc/group"?
> 
> I goofed the syntax.   You use @ in front of groups
> 
> libvirt:x:977:root:@users

Why not read the man page?

$ man 5 group

DESCRIPTION
       The  /etc/group file is a text file that defines the groups on
       the system.  There is one entry per line, with the following
       format:

           group_name:password:GID:user_list

       The fields are as follows:

...

       user_list   a  list  of  the  usernames that are members of this
                   group, separated by commas.


So the line for libvirt in /etc/group should be:

libvirt:x:977:todd,user1,user2,...


-- 
Regards

Jon Ingason
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to