Re: I need current network interface documentation

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

 



On 2020-07-07 12:25, Tom H wrote:
On Tue, Jul 7, 2020 at 7:38 PM Samuel Sieb <samuel@xxxxxxxx> wrote:
On 7/7/20 6:07 AM, Tom H wrote:
On Tue, Jul 7, 2020 at 12:53 AM ToddAndMargo via users


Try it with vi and a colon.

I used "vi" in the form of "vigr" (the group equivalent of "vipw").

A colon?! That means that you're adding a fifth field.

Exactly.

Also, it would help if you showed me your line in /etc/groups

I don't see why but here goes

$ getent group todd
todd:x:1001:th
$ getent group root
root:x:0:@todd
$ id
uid=1000(th) gid=1000(th) groups=1000(th),10(wheel),1001(todd)
$

To test what he's doing, you would need to have:
root:x:0::@todd

This is what I set up yesterday.

I've just tried the 5th column that you're suggesting. "id th" doesn't
list "0(root)".


I tested it with libvirt and it didn't work.
Since my user is in the wheel group, I changed the libvirt group to:
libvirt:x:978::@wheel

"id" doesn't show it and "virt-manager" asked for my password.

One thing to remember is that if you change the group or passwd file,
you need to start a new session to pick up the changes. As root, if I
change the group file, "id user" will immediately show the changes. But
any existing sessions for that user will still have the old settings and
running "id" as the user there will show that. You need to do "su -
user" to start a new session with the new group settings.

ACK. Thanks.

In my case, I'd halted the VM so the output above reflects accurately
the state of affairs.

Did it work?

_______________________________________________
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