Le 11/02/2020 à 20:19, Cliff McDiarmid via blfs-support a écrit :
> Hi
>  
> For the first time when building an LFS/BLFS system I have a problem when 
> reinstalling Shadow in Chapter 4. Security
> 
> When trying to su to root from the user after logging in, I get 
> 'su.authentication failure'
> 
> I have checked the following as suggested:
> 
> 1. Ran the test suite from Linux Pam with no errors
> 
> 2. Added the user to the wheel group.

Just to be sure, have logged out and in after that?

> 
> 3. Added the user to the sudoers file with ALL permissions

Remove or comment out the %wheel line in the sudoers file. It may take
precedence over the user one. Also, remove (or comment out) the %wheel line in
/etc/sudoers.d/sudo, if you have installed that file. But this shouldn't
change the behavior of "su", only of "sudo".
> 
> Where do I go from here?  If i reinstall Shadow without PAM I assume i go 
> back to su to root from user?

su with PAM works for me if I am in the "wheel" group.  If you are able to run
"sudo", you can type "sudo su -" if needed to become root.

> 
> If I cannot solve this could I go on?

Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to