Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System doesn't accept root password
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Blind_Sniper
Guru
Guru


Joined: 20 Apr 2018
Posts: 336

PostPosted: Thu Oct 21, 2021 2:13 pm    Post subject: System doesn't accept root password Reply with quote

Hi there!

SInce recent update I cannot run kdesu (usually I using it to launch dolphin and konsole).
When I trying to start these apps via kdesu I getting this message:

Code:
Permission denied.
Possibly incorrect password, please try again.
On some systems, you need to be in a special group (often: wheel) to use this program.


I'm in wheel group and my password is correct. In past I fixed it by setting suid bit on /bin/su binary, but this time suid is set.
Why kdesu refuses to accept my password?
_________________
GNU is Not Usable
Back to top
View user's profile Send private message
freke
l33t
l33t


Joined: 23 Jan 2003
Posts: 962
Location: Somewhere in Denmark

PostPosted: Thu Oct 21, 2021 2:38 pm    Post subject: Reply with quote

kdesu supposedly uses su - can you su from a console?
Can you login as root from console?
Back to top
View user's profile Send private message
Blind_Sniper
Guru
Guru


Joined: 20 Apr 2018
Posts: 336

PostPosted: Thu Oct 21, 2021 2:52 pm    Post subject: Reply with quote

I can't su from konsole, with the same autentification failure
But I can boot into single mode as root.
As well I can run sudo, I suppose because in sudoers I have NOPASSWD option set.
_________________
GNU is Not Usable
Back to top
View user's profile Send private message
freke
l33t
l33t


Joined: 23 Jan 2003
Posts: 962
Location: Somewhere in Denmark

PostPosted: Thu Oct 21, 2021 3:20 pm    Post subject: Reply with quote

The groups-command confirms that you're member of wheel?

If you've later used usermod -G it doesn't add the groups you specify, it only makes you a member of that/those groups;
ie.
Code:
usermod -G users,wheel,audio username

doesn't yield same result as:
Code:
usermod -G users,wheel username
usermod -G audio username


According to https://forums.gentoo.org/viewtopic-t-23378.html atleast (I'm basically running root-only on my servers (console-only), so really never tried using su nor sudo)
Back to top
View user's profile Send private message
Blind_Sniper
Guru
Guru


Joined: 20 Apr 2018
Posts: 336

PostPosted: Thu Oct 21, 2021 3:29 pm    Post subject: Reply with quote

freke wrote:
The groups-command confirms that you're member of wheel?

Yes, I'm in wheel group. And didn't make any modifications in configuration files.
_________________
GNU is Not Usable
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum