Re: I need current network interface documentation

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

 



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
<users@xxxxxxxxxxxxxxxxxxxxxxx> 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



_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux