LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-19-2008, 05:13 AM   #1
puskas
Member
 
Registered: Jan 2004
Posts: 37

Rep: Reputation: 15
Root priviligies problem


I have Ubuntu 8.10 installed. I'm quite a newbie to bash/terminal. I don't understand why I don't get the root priviligies in terminal? I use:

su root

I put in the password and I know the password is right but I get the message:

su: Authentication failure

I can't remember I got the option when installing to submit root password, just username. I thought it was the same as for my username. What is wrong here?
 
Old 12-19-2008, 05:15 AM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
I can be mistaken but is not su enter
password enter
 
Old 12-19-2008, 06:55 AM   #3
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Try using "sudo su".
 
Old 12-19-2008, 07:00 AM   #4
puskas
Member
 
Registered: Jan 2004
Posts: 37

Original Poster
Rep: Reputation: 15
root

Quote:
Originally Posted by ronlau9 View Post
I can be mistaken but is not su enter
password enter
Doesn't work if just use su and not username root. I checked man su and it says: su - change user ID or become superuser

I want to become superuser. Could root password be something else than my username password? I'm the only user.
 
Old 12-19-2008, 07:09 AM   #5
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Quote:
Originally Posted by puskas View Post
Doesn't work if just use su and not username root. I checked man su and it says: su - change user ID or become superuser

I want to become superuser. Could root password be something else than my username password? I'm the only user.
In the distros I type su enter and root password enter I get root
privilege so I am root
 
Old 12-19-2008, 07:15 AM   #6
puskas
Member
 
Registered: Jan 2004
Posts: 37

Original Poster
Rep: Reputation: 15
Sudo su

Sudo su works? How come? Want to learn.
 
Old 12-19-2008, 07:18 AM   #7
hasanatizaz
Member
 
Registered: Nov 2007
Location: Pakistan
Distribution: Redhat and Debian
Posts: 302
Blog Entries: 1

Rep: Reputation: 34
change root password again,
sudo passwd root

there is a chance that attempting too many bad logins will lock your account for sometime, so reboot.
 
Old 12-19-2008, 07:45 AM   #8
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Quote:
Originally Posted by puskas View Post
Sudo su works? How come? Want to learn.
Having not used Ubuntu I can only guess, but it looks to me like they've made it so that only root can use the su command, so you need to use sudo to gain root access before you can run su.
 
  


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
problem with root martianvamp Linux - Newbie 20 01-09-2007 01:56 PM
Root Problem Centinul Fedora 1 06-20-2005 12:08 PM
root problem phatbastard Slackware 3 12-01-2004 11:28 AM
Give root priviligies to an user Skululu Red Hat 7 03-06-2004 09:11 AM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 05:14 PM


All times are GMT -5. The time now is 06:47 AM.

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