LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-11-2015, 12:12 AM   #1
romandurbin
LQ Newbie
 
Registered: May 2015
Posts: 4

Rep: Reputation: Disabled
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
 
Old 05-11-2015, 12:21 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,542

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
root is not used in Ubuntu - precede any command that requires authority with "sudo" (no quotes) - you use your password
Code:
sudo fdisk -l
Have a read of RootSudo
 
1 members found this post helpful.
Old 05-11-2015, 10:18 AM   #3
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 2,981
Blog Entries: 1

Rep: Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626Reputation: 626
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.
 
1 members found this post helpful.
Old 05-11-2015, 11:01 AM   #4
romandurbin
LQ Newbie
 
Registered: May 2015
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for sudo

Your help is greatly appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I don't have a root password, please advise... TheCorporation Linux - Newbie 4 03-22-2013 07:09 AM
the root password is correct but it don't work!!!!!!! nadia_kh Linux - Newbie 9 07-19-2012 08:21 AM
Vmware ubuntu 10.10 installed ................root password.. rahulfreez Linux - Desktop 1 01-24-2011 07:04 AM
[SOLVED] Installed newest Ubuntu setting a weak password. Changed password now buggered? lugoteehalt Ubuntu 1 05-29-2010 09:51 PM
i don't know my grub/root password Joe120 Linux - Newbie 7 01-25-2006 05:54 AM


All times are GMT -5. The time now is 07:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration