On 2020-07-06 04:31, Ed Greshko wrote:
On 2020-07-06 19:23, ToddAndMargo via users wrote:
On 2020-07-06 04:17, Jon Ingason wrote:
Den 2020-07-06 kl. 11:23, skrev ToddAndMargo via users:
On 2020-07-05 23:31, Jon Ingason wrote:
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
<[email protected]> 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,...


Several of us did, including me.

Did you find @group in the man page anywhere?  I only
remembered it off the top of my head.

No, there don't exist any variable like "@group" in /etc/group. The data
in /etc/group lines where format is:

group_name:password:GID:user_list

It has been in over 40 years in Unix and ever since Linux where born.

Regards

Jon Ingason

Yet it somehow got rid of pol kit prompt with virt-manager


I hate to repeat myself.  But, not for me.  So, I think you've done more than
just that.

Anyway, this is a dead horse.



I would love to know the answer to the mystery.

I do work a lot in the Windows world.  I get a lot of
"it works for me" from tech support, typically if I
am the first on reporting a problem.  It is very
annoying.  I like to figure out what is causing what.
I like solving these kinds of puzzles.



--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]

Reply via email to