?
Solved

Ubuntu root password not recognized but sudo will work

Posted on 2007-11-19
4
Medium Priority
?
835 Views
Last Modified: 2012-06-21
I have installed Ubuntu and it all is ok and until now I have used sudo command. I tried to login as root and to issue su - command but the installation does not recognise my password. I am certain I entered the correct password.... is the sudo password not the same as the root password?

0
Comment
Question by:jtregjtreg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 88

Expert Comment

by:rindi
ID: 20311633
On ubuntu you have to use sudo, su will not work.
0
 

Author Comment

by:jtregjtreg
ID: 20311800
and does it also mean U cannot log in as root either?
0
 
LVL 88

Accepted Solution

by:
rindi earned 200 total points
ID: 20312522
Do have the Linux console installed? If yes, start a session, then you should have a windows with the options on top (Session, Edit, View etc.). Click on Session and then on "new root shell", enter your user password, then enter the following

sudo passwd

Now enter a pasword for the root user (not the same as when you enter sudo somethingelse and then have to enter your user password) twice.

Now open a normal user's Terminal session and try
su

TheNewPassword.

0
 

Author Closing Comment

by:jtregjtreg
ID: 31409913
cheers mate, silly of me, really... I should have figured that one out! Anyway thats what this place is all about
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month13 days, 9 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question