After The Last Two Updates To Current There Are Network And Xorg Problems.
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I had the same or a very similar problem after installing those updates ...
In addition to the not authorized message I also had a delay when logging in and shutting down was only possible using the power button.
I found the following erros in /var/log/messages
Code:
Feb 18 17:16:08 antares NetworkManager[1247]: <info> [1582042568.1195] audit: op="connection-activate" uuid="6a1d6304-f057-4c79-bb99-b52c80203d88" name="XXX" pid=1600 uid=501 result="fail" reason="Not authorized to control networking."
Feb 18 17:16:10 antares dbus-daemon[1229]: [system] Activating service name='org.freedesktop.PolicyKit1' requested by ':1.1' (uid=0 pid=1247 comm="/usr/sbin/NetworkManager ") (using servicehelper)
Feb 18 17:16:10 antares dbus-daemon[1229]: [system] Activated service 'org.freedesktop.PolicyKit1' failed: Launch helper exited with unknown return code 127
and
Code:
Feb 18 17:24:05 antares kernel: [ 24.622103] traps: upowerd[1434] trap int3 ip:7f71f8bc3855 sp:7ffe606d9180 error:0 in libglib-2.0.so.0.6200.4[7f71f8b8b000+7d000]
and suspected a problem with policykit.
After reinstalling ConsoleKit2-1.2.1-x86_64-2.txz and polkit-0.116-x86_64-2.txz (in single-user mode - just to be safe) everything worked again.
sudo (visudo tool) always must be configured (if one wants to use this facility) either by enabling wheel or sudo group, unless rights are configured for single user. That is what I had to do with most of linux distros, OpenIndiana, FreeBSD, OpenBSD (doas). So I assumed that this is pretty obvious.
Correct, but you have to explicitly enable the wheel group for it to be applicable for sudo usage, it's disabled by default. By default, adding a user to the wheel group in Slackware does nothing unless you've specifically done changes to add rights to that group.
Correct, but you have to explicitly enable the wheel group for it to be applicable for sudo usage, it's disabled by default. By default, adding a user to the wheel group in Slackware does nothing unless you've specifically done changes to add rights to that group.
FYI my SLackware Live ISO images configure the use of the wheel group in sudoers and also add a suauth file. All this to educate people to the ways of the greybeards ;-)
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,011
Rep:
Quote:
Originally Posted by bassmadrigal
Correct, but you have to explicitly enable the wheel group for it to be applicable for sudo usage, it's disabled by default. By default, adding a user to the wheel group in Slackware does nothing unless you've specifically done changes to add rights to that group.
Right,
so this has nothing to do with Slackware, this is standard issue with configuration of any UNIX(like) OS as listed above. I thought that this is quite obvious. I can create any group or give any user root privileges (limited or unlimited). Refering to wheel seemed to be pretty obvious that user would have to be in a privileged group as it is evident from your posts (and in contrast to past default configs, this is a reason to use wheel).
If I would make reference to aeterna group it would be somehow confusing.
Anyway, you are absolutely correct without configuring sudoers, sudo for group(s) or user(s) would not work
FYI my SLackware Live ISO images configure the use of the wheel group in sudoers and also add a suauth file. All this to educate people to the ways of the greybeards ;-)
That's good to know!
Quote:
Originally Posted by Aeterna
Right,
so this has nothing to do with Slackware, this is standard issue with configuration of any UNIX(like) OS as listed above. I thought that this is quite obvious. I can create any group or give any user root privileges (limited or unlimited). Refering to wheel seemed to be pretty obvious that user would have to be in a privileged group as it is evident from your posts (and in contrast to past default configs, this is a reason to use wheel).
If I would make reference to aeterna group it would be somehow confusing.
Anyway, you are absolutely correct without configuring sudoers, sudo for group(s) or user(s) would not work
It was just the way it was mentioned in your original post it seemed like all the user would need to do would be to add themselves to the wheel group and it would solve their problem. It would do nothing unless they did additional configuration of their Slackware machine to make the wheel group mean something to the system.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.