LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 11-04-2006, 12:11 PM   #1
rochmndx
LQ Newbie
 
Registered: Jun 2005
Distribution: Kubuntu
Posts: 7

Rep: Reputation: 0
Help! Root Password Problems


For a while now, I've had Kubuntu installed, and it runs nicely except for root access.

I can su to root in the command line with no problem, but I can not, for the life of me get get root access when a "run as root" box comes up. I can enter the same password as the one I typed into the command line and it will say "password incorrect"

So my first inclination is to go into the user settings and play with root access and all that good stuff ...but I need to have root powers to do that, too.


So, then I tried logging in as root at the login screen, but it won't let me do that either.



My question is.... how in the heck do I fix this without re-installing Linux?



Thanks Much
Matt
 
Old 11-04-2006, 12:51 PM   #2
tidiman07
Member
 
Registered: Apr 2006
Distribution: Kubuntu 8.04
Posts: 129

Rep: Reputation: 15
so if im understanding this correctly, you can access root privileges only in terminal, but when something that requires root comes up the password is rejected?

my first thought is thats unusual. are you sure you're typing the same password?
try changing root password and see if problem persists.
Code:
 sudo passwd *****

Last edited by tidiman07; 11-04-2006 at 12:54 PM.
 
Old 11-04-2006, 02:44 PM   #3
rochmndx
LQ Newbie
 
Registered: Jun 2005
Distribution: Kubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
Question

So, I'll try to change the password through in the command line the next time I boot up in Linux (I mostly live in Window$ XP).

If that doesn't work, how do I change the user privileges in the command line?
 
Old 11-04-2006, 03:23 PM   #4
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
i guess u better try
sudo passwd root yournewpassword

sudo passwd newpass
gave me the answer: there is no user newpass

you can edit the priviliges for a file, directory, script,...
with
chmod
see
man chmod

Last edited by j-ray; 11-04-2006 at 03:25 PM.
 
Old 11-11-2006, 05:41 PM   #5
rochmndx
LQ Newbie
 
Registered: Jun 2005
Distribution: Kubuntu
Posts: 7

Original Poster
Rep: Reputation: 0
ok... I was sucessful in changing the root password. I still get the "wrong password" box, though.

so... How do I change my user permissions?
 
Old 11-11-2006, 06:09 PM   #6
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Code:
su
and
Code:
sudo
do not ask for the same passwords.
Code:
su
asks for the root password and
Code:
sudo
(provided you're in the admin group) asks for your user password. Read more here:
http://help.ubuntu.com/community/RootSudo
 
  


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
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
Root password problems Omnutia Linux - Newbie 3 06-11-2006 04:47 PM
Root password problems svinka Ubuntu 11 11-20-2005 09:17 PM
Root Password Problems Kintwa Linux - Newbie 2 10-10-2004 08:46 PM
Problems with Root Password J_Bone Linux - Security 17 09-30-2003 05:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:32 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
Open Source Consulting | Domain Registration