On Mon, Jul 6, 2020 at 7:48 AM ToddAndMargo via users
<users(a)lists.fedoraproject.org> wrote:
On 2020-07-05 21:59, Tom H wrote:
> On Mon, Jul 6, 2020 at 1:22 AM ToddAndMargo via users
> <users(a)lists.fedoraproject.org> wrote:
>>
>> libvirt:x:977:root:@users
>
> Are you sure
>
> 1) That you can use netgroup notation when you're (presumably) not
> using nis/nisplus/ldap?
>
> 2) That you can nest a netgroup in a group? I've only seen/used
> netgroups used in "/etc/group" on a separate line, eg
"+@netusers",
> to include the "netusers" netgroup using "nss_compat".
It turn off the pol kit prompt
Are you that it's not something else that's "turning off" polkit?
I checked the "group(5)" man pages on my NetBSD and OpenBSD systems,
on my Linux laptop, and in Solaris 8 man-page PDF. The first three
describe the fourth field as a list of members and the members are
users. Solaris even calls the fourth field "user-list". None of them
even imply that a group name can be added to the list, with or without
prepending "@".
I created a group "todd", added myself to it, added "@todd" to the
"root" group in "/etc/{group,gshadow}" (I couldn't find an
executable
that would allow me to add a group to a group), and ran "grpck -r":
# grpck -r
group root: no user @todd
delete member '@todd'? No
shadow group root: no user @todd
delete member '@todd'? No
grpck: no changes
root rebekah /root
#
"grpck" expects usernames as group members.