LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-19-2020, 10:51 AM   #16
z80
Member
 
Registered: Jul 2019
Location: Europe
Distribution: Slackware64-current
Posts: 136

Rep: Reputation: 99

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.
 
1 members found this post helpful.
Old 02-19-2020, 11:09 AM   #17
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,011

Rep: Reputation: Disabled
Quote:
Originally Posted by cwizardone View Post
Yep. I've doing that for years.
yes, then other option is policykit editing as I suggested also. But it seems that this was an error in the policykit package that is fixed now.
 
1 members found this post helpful.
Old 02-19-2020, 02:53 PM   #18
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Aeterna View Post
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.
 
1 members found this post helpful.
Old 02-19-2020, 03:07 PM   #19
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by bassmadrigal View Post
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 ;-)
 
2 members found this post helpful.
Old 02-19-2020, 03:44 PM   #20
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,011

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
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
 
1 members found this post helpful.
Old 02-19-2020, 05:06 PM   #21
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Alien Bob View Post
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 View Post
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.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get first day of last month and last day of last month in bash xowl Linux - Software 18 02-09-2017 09:49 AM
[SOLVED] Network prolems Nyno-Kun Linux From Scratch 2 08-19-2015 03:55 AM
Slackware-current: X crashes after the last xorg updates. ivandi Slackware 30 07-19-2009 02:19 PM
Slackware newbie, how do I config mouse and sound prolems blastradius Slackware 12 07-10-2006 05:52 PM
prolems forwarding ip and pppd the_cowt Linux - Networking 3 02-11-2003 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration