0

I originally had problems installing xampp so I installed apache, php, mysql and phpmyadmin via terminal - phpmyadmin did not work - then I discovered I could login as root and install xampp - so I uninstalled but then could no longer log in as root - so I googled and found a suggestion to install root - but root apparently is also program which I then uninstalled - so now when I try and log in as root it says program not found and I cannot log in as root any assistance greatly appreciated - thanks guys

As requested exact error message in terminal when I enter 'root' is-

The program 'root' is currently not installed. You can install it by typing: sudo apt install root-system-bin

whereas before it used to take me into root user or as I understand it 'bash' or # prompt

2
  • 1
    Please add more information including the exact error message. – fosslinux Jun 7 '17 at 3:09
  • 1
    Simply entering root at the command line would not have logged you in as root (perhaps you are thinking of entering root at the login prompt of a virtual terminal?). To get a root shell, use sudo -i instead. – steeldriver Jun 7 '17 at 11:39
0

Have you try sudo su from your host account. You can verify it by echo $USER or whoami ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.