Had Ubuntu installed and realized that I don't know root password
Hi everybody,
I used to be a Linux developer, but I have not used Linux or anything UNIX-like for a long time (more than 10 years). I had it installed by someone else and assumed that the root password is not set. Turned out - it has been. I can logged in as "owner" because I have guessed the password ("password") but no such luck with root. Can anything (other than reinstallation) be done? Is there some default password that root gets at installation that someone at this forum knows? Any other suggestions? Thank you in advance. Roman |
root is not used in Ubuntu - precede any command that requires authority with "sudo" (no quotes) - you use your password
Code:
sudo fdisk -l |
As previously said, ubuntu does not enable a root password by default. You could change that behavior, but there's security implications if you do. You can sudo -s from your user and have a root like shell. Which is roughly equivalent. Otherwise prefix commands with sudo for the ones that you want to run with root priviledges. There are plenty of other distros out there with root logins if you desire that type of system.
|
Thanks for sudo
Your help is greatly appreciated.
|
All times are GMT -5. The time now is 09:48 AM. |