Gentoo Archives: gentoo-user

From: Jack <ostroffjh@×××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Peculiar problem: no su - to root
Date: Sat, 03 Feb 2018 21:13:52
Message-Id: ZHD2TSYE.M4P5LYNF.3DHBYVTZ@U2NU77UP.73CYRHD4.PAQLCGCZ
In Reply to: [gentoo-user] Peculiar problem: no su - to root by Harry Putnam
1 On 2018.02.03 16:05, Harry Putnam wrote:
2 > I've just completed getting gentoo booted as guest in vbox vm.
3 >
4 > I'm having a peculiar problem. I cannot call `su -' or `su root' and
5 > login as root.
6 >
7 > I can still get to root by `ssh root@localhost' having set up
8 > /etc/sshd_config while still chrooted during install.
9 >
10 > Still no getting to root by way of `su -' or `su root'
11 >
12 > I just get the `Permission denied' message.
13 >
14 > I've never had this happen before over many installs of various linux
15 > distros.
16 >
17 > I did try ssh root@localhost and then resetting root passwd while
18 > logged in as root, but still no getting to root by `su -'.
19 >
20 > Any ideas whats might be wrong.
21
22 Have you tried just plain "su" ? Can you do "sudo bash" ? That might
23 be an easier (temporary) workaround than ssh.
24
25 See if "ls -al" in /root and in /etc show some file with strange
26 permissions.
27
28 Jack