Re: I need current network interface documentation

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

 



On 2020-06-30 21:29, Ed Greshko wrote:
On 2020-07-01 11:33, Samuel Sieb wrote:
Why do you say that?  Again, you demonstrated that it *does* work.  You just want to be able to use ifup and ifdown as a user and that isn't going to work, no matter what options you set.

Right....

When it comes to Network Manager.....

If the connection has....

connection.autoconnect: yes
connection.permissions:  --

The connection will be activated at boot time and any user can up/down with nmcli.

[maria@f32k ~]$ nmcli connection down enp1s0
Connection 'enp1s0' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/3)
[maria@f32k ~]$ nmcli connection up enp1s0
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/6).

User maria is not in the wheel group.

But, if the connection has

connection.autoconnect: yes
connection.permissions: user:egreshko

Then we see this when maria tries things....

[egreshko@f32k ~]$ nmcli connection show enp1s0 | grep perm
connection.permissions:                 user:egreshko

[maria@f32k ~]$ nmcli connection show enp1s0 | grep perm
Error: enp1s0 - no such connection profile.

So, only egreshko has access to that profile.  User maria can't even list it.

Things can get a "bit" complicated/confusing if the connection is a Wifi connection if one picks a password
access which conflict with the connection settings.  For example, if the connection.permissions is blank
but the password has been saved for use by only egreshko then maria can down the connection but
maria won't be able to activate/up it.

I also don't use the ifup/down commands but I do seem to recall some folks having "issues" with that
when they also had network-scripts installed and /etc/alternatives link pointed to the one they weren't
expecting.




Thank you!

$ nmcli connection show eno2 | grep perm
connection.permissions:                 --


What does "--" mean?

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
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