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 |