Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't su to root
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
imesg
Guru
Guru


Joined: 12 Jul 2002
Posts: 445

PostPosted: Wed Dec 22, 2021 3:25 pm    Post subject: can't su to root Reply with quote

In recent days (week) I can't su to root:

Code:

gene@go:~# su - root
su: Authentication failure


Usually:

Code:

gene@dt1:~# su - root
Password:


Thanks for any help.
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3610

PostPosted: Wed Dec 22, 2021 3:54 pm    Post subject: Reply with quote

As a side note,
Code:
su -
should be equivalent to
Code:
su - root
Thks 4 ur attention, interest & support.
_________________
USE="-* ..." in /etc/portage/make.conf here.
LT: "I've been doing a passable imitation of the Fontana di Trevi, except my medium is mucus. Sooo much mucus. "
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1657

PostPosted: Wed Dec 22, 2021 3:58 pm    Post subject: Reply with quote

According to to another post, shadow and util-linux traded su implementations.

The general advice being that suid USE is needed on util-linux as well as a sane PAM config.

Check the logs when possible.

If sudo is installed, an alternative way to become root is to use 'sudo -i'.
Back to top
View user's profile Send private message
imesg
Guru
Guru


Joined: 12 Jul 2002
Posts: 445

PostPosted: Wed Dec 22, 2021 6:29 pm    Post subject: Reply with quote

grknight wrote:
According to to another post, shadow and util-linux traded su implementations.

The general advice being that suid USE is needed on util-linux as well as a sane PAM config.

Check the logs when possible.

If sudo is installed, an alternative way to become root is to use 'sudo -i'.


Thanks grknight. I am glad it was that easy. I did a search just before posting for 'su' and there was nothing.
Back to top
View user's profile Send private message
Banana
Veteran
Veteran


Joined: 21 May 2004
Posts: 1391
Location: Germany

PostPosted: Wed Dec 22, 2021 7:20 pm    Post subject: Reply with quote

searching for a two chars does not really result in useful stuff.
_________________
My personal space
My delta-labs.org snippets do expire

PFL - Portage file list - find which package a file or command belongs to.
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