On 06/04/2019 05:14, Hans Malissa via blfs-support wrote:
> I'm in the process of re-installing Shadow-4.6 with Linux-PAM in 8.4-systemd,
> following the instructions
> onĀ http://linuxfromscratch.org/blfs/view/stable-systemd/postlfs/shadow.html.
> I've compiled and installed Shadow so far, and I'm following the instructions
> in the configuration section. I've gotten to the point where the 'Warning' box
> recommends to switch to another terminal, login as normal user, and su to
> root. When I try this, I get
> 
> $ su
> Password:
> su: Permission denied
> 
> (The password is correct--I can directly login as root, but not use su). I've
> picked through all the configuration files, but I can't find anything wrong.
> What am I missing or doing wrong?
> Greetings,
> 

Looks like the proposed configuration in /etc/pam.d/su limits the use of "su"
to users in the "wheel" group. You may try to do "usermod -a -G wheel <user>"
(as root).

We should update the text in the warning... Or comment out the
"auth      required    pam_wheel.so use_uid" line in /etc/pam.d/su, adding
"# Uncomment the following line if you want to limit su to users in the wheel
group."

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