On Sat, Feb 3, 2018 at 4:05 PM, Harry Putnam <rea...@newsguy.com> wrote: > > I've just completed getting gentoo booted as guest in vbox vm. > > I'm having a peculiar problem. I cannot call `su -' or `su root' and > login as root. > > I can still get to root by `ssh root@localhost' having set up > /etc/sshd_config while still chrooted during install. > > Still no getting to root by way of `su -' or `su root' > > I just get the `Permission denied' message. > > I've never had this happen before over many installs of various linux > distros. > > I did try ssh root@localhost and then resetting root passwd while > logged in as root, but still no getting to root by `su -'.
Add the su-ing user to the "wheel" group (because of "auth required pam_wheel.so" in "/etc/pam.d/su").