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
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.
_______________________________________________
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