Solved

Ubuntu root password not recognized but sudo will work

Posted on 2007-11-19
4
833 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 50 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

707 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