How to eliminate the login password requirement. My administrator had left the job and I am unable to login as Administrator.
Asked
Active
Viewed 69 times
1 Answers
0
Normally, Ubuntu does not have a login for the user 'root'.
Instead you use sudo command line
to run the command command line
, and you use your own user ID's password to escalate the permissions and run with root permissions via sudo
.
Example (to modify the file /etc/fstab
),
sudo nano /etc/fstab
So if you have the password for the previous administrator's user ID, fine. Otherwise you may need to reset that password,

sudodus
- 46,324
- 5
- 88
- 152
sudo bash
orsudo -s
and that would give you a root shell :) – marko Mar 11 '18 at 09:38sudo
, to avoid running commands as root by mistake and create problems. Anyway, in some special cases it is an advantage to run with a root shell viasudo -s
orsudo -i
. And we should remember to usesudo -H gui-program
to run GUI application programs to avoid problems for the regular user ID with configuration files. – sudodus Mar 11 '18 at 09:43