Re: I need current network interface documentation

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

 



On 2020-07-03 12:32, ToddAndMargo via users wrote:
> On 2020-06-30 21:47, Ed Greshko wrote:
>> On 2020-07-01 12:42, ToddAndMargo via users wrote:
>>> Thank you!
>>>
>>> $ nmcli connection show eno2 | grep perm
>>> connection.permissions:                 --
>>>
>>>
>>> What does "--" mean?
>>
>> It means "no user restrictions".  It means any user can up/down the connection via nmcli.
>>
>
> Huh.
>
> Works:
> $ /usr/bin/nmcli c up eno2
>
> Does not work:
> $ /usr/sbin/ifup eno2
> $ /usr/libexec/nm-ifup eno2
>
> I know that is what you  said, but was it intended
> to be restricted to nmcli?

The answer to why nmcli works for a user while the other 2 shell scripts fails was alluded to by "Tom H".
(Of course there really is only 1 shell script).

The answer is polkit.  If you were to enable logging/debugging for polkit you'd get

Jul 03 13:03:19 f32k.greshko.com dbus-broker[678]: A security policy denied :1.70 to send method call /org/freedesktop/NetworkManager/Settings:org.freedesktop.NetworkManager.Settings.LoadConnections to :1.13.

which coincides with the first command (nmcli connection load) in the shell scripts.


-- 
The key to getting good answers is to ask good questions.
_______________________________________________
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