Matthew1974
New Member
My Linux machine has two users root and matthew, I keep the passwords written in a text file so that I know I'm not making a spelling mistake (maybe a security issue, but that's not related to my question).
I was logged in as matthew and I wanted to install nano, so I typed.
sudo apt-get install nano
This didn't work. I tried it several times double checking that all the passwords were correct and being confused.
I logged in as root and typed.
apt-get install nano
This worked first time, I've even openned nano as root as well as openning nano whilst being logged in as matthew, so nano is most definitely installed.
Can anyone explain why the installation didn't work for the log in matthew using sudo?
I was logged in as matthew and I wanted to install nano, so I typed.
sudo apt-get install nano
This didn't work. I tried it several times double checking that all the passwords were correct and being confused.
I logged in as root and typed.
apt-get install nano
This worked first time, I've even openned nano as root as well as openning nano whilst being logged in as matthew, so nano is most definitely installed.
Can anyone explain why the installation didn't work for the log in matthew using sudo?