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,
Hans
Hi Hans,
The wheel group has been added in LFS 8.4. and a restriction has been
added in the file /etc/pam.d/su :
# Limit su to users in the wheel group
auth required pam_wheel.so use_id
You have to add a user to the wheel group to allow him to su
With best regards.
--
NicP
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page