1

I can't do anything. Whenever I use "sudo", I receive "sorry, try again". I need to install gcc. Can anyone help me?

screenshot

To run a command as administrator (user "root") use root "sudo <command>".
See "man sudo_root" for details.

zyl@zyl-HP-348-G4:~$ sudo apt install gcc [sudo] password for zyl: Sorry, try again. [sudo] password for zyl: Sorry, try again. [sudo] password for zyl: sudo: 3 incorrect password attempts zyl@zyl-HP-348-G4:~$

2 Answers2

0

I think you could type the sudo password slowly, and be attentive on what you are typing. This could help. Or change the password if you still can't.

0

Hold shift at start up to open grub, then move down to the option with your Linux distro, followed by (Recovery Mode)

You want click the down arrow until you hover over root, then click enter.

Next U’ll see command line with the text

root@ubuntu:~#

You then want to remount with permissions by doing the following command

mount -o remount, rw /

Now all you have to do is

passwd username

Replace username with whatever your username is, then enter your new password