I forgot my root password and later reset it by modifying the grub boot loader script: "ro" to "rw init=/bin/bash". After that, "Ctrl+X" brought me to a root environment where I created my new root password.
This new password enables me to enter the root environment (# instead $) where I can do everything that requires "sudo". However, this password couldn't work when I try to do the command "sudo apt-get ...".
If the password used by "sudo" should be the user's password, how could I create a new one if I have already logged into the system? I simply forgot this password. I could log into the system because the system is set without a login required.
Thanks in advance!