LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 07-17-2005, 08:13 PM   #1
svinka
Member
 
Registered: Oct 2004
Location: Virginia, USA
Distribution: SuSE 9.3 Professional, Kubuntu 5.04, Ubuntu 5.04, Knoppix 4.0
Posts: 81

Rep: Reputation: 15
Exclamation Root password problems


Ok, i'm new to Ubuntu, tried a few distros and stopped on SuSE 9.3 and Ubuntu (tried Kubuntu also - formatted it and installed ubuntu)

When I was in Kubuntu, I tried running some root-only programs. KDE-su kept saying my pass is wrong , but when I went to console, su, and ran that program from command - it worked. So I thought, what the heck, besides some other issues of KDE in Kubuntu, I can't live like that, so I installed Ubuntu. Much better already, but still the same problem, can't open any root-only programs from the Applications and all other menus, only from command line. I can live with that, but bot the one who I set it up for, so I have to figure this out, or I have to install Windows again (noooo!).

Hint: My password is 14 characters long, I'm gonna try making it shorter, cuz there might be a limit. If anyone knows what's the problem, I'd love to get this over with fast.


Ubuntu rules anyway :P

thx,
svinka
 
Old 07-17-2005, 08:28 PM   #2
svinka
Member
 
Registered: Oct 2004
Location: Virginia, USA
Distribution: SuSE 9.3 Professional, Kubuntu 5.04, Ubuntu 5.04, Knoppix 4.0
Posts: 81

Original Poster
Rep: Reputation: 15
I've changed the password, but still no luck . I hope somebody will help me, or I'll find the solution soon.


thx,
svinka
 
Old 07-17-2005, 08:49 PM   #3
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Can you use sudo to run these programs?
 
Old 07-17-2005, 08:56 PM   #4
svinka
Member
 
Registered: Oct 2004
Location: Virginia, USA
Distribution: SuSE 9.3 Professional, Kubuntu 5.04, Ubuntu 5.04, Knoppix 4.0
Posts: 81

Original Poster
Rep: Reputation: 15
Well, not anymore I can't , I somehow made my account " not in the sudoers file". Guess I have to boot to Knoppix now and undo what I did (I locked up the root account also, prolly did something else as stupid as that ). BTW, Knoppix 4.0 is really great, anyone who can't wait for official release, I suggest picking up the LinuxTAG 2005 iso torrent. Man they now have everything! Except Krusader

Back to the topic, as I said, I will be booting to Knoppix now and changing the passwords from there, then we'll see.


thx,
svinka
 
Old 07-17-2005, 09:31 PM   #5
svinka
Member
 
Registered: Oct 2004
Location: Virginia, USA
Distribution: SuSE 9.3 Professional, Kubuntu 5.04, Ubuntu 5.04, Knoppix 4.0
Posts: 81

Original Poster
Rep: Reputation: 15
Ok, nevermind (atleast for now) After spending 10 or so minutes in Knoppix and chroot'ing my system, I made myself a part of sudoers again, so now my password (password of regular user) works when running these apps. I suppose thats how it was supposed to be, because it asks you not for the "root password", but for "your password". Now I got full control under Ubuntu!


Anybody wanna know how I did it ? Nah, you prolly know already...


svinka
 
Old 07-17-2005, 10:34 PM   #6
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
you could of just booted to rescue mode which is just runlevel 1
 
Old 07-17-2005, 10:53 PM   #7
svinka
Member
 
Registered: Oct 2004
Location: Virginia, USA
Distribution: SuSE 9.3 Professional, Kubuntu 5.04, Ubuntu 5.04, Knoppix 4.0
Posts: 81

Original Poster
Rep: Reputation: 15
Tried that too, couldn't do anything, had to reboot.
 
Old 11-15-2005, 03:25 PM   #8
ernesto_cgf
Member
 
Registered: Nov 2003
Location: Havana, Cuba
Distribution: Ubuntu 9.04 "Jaunty Jackalope"
Posts: 153

Rep: Reputation: 30
I am having this same problem, but after I realized that it was my password (and not the root's password) the one I have to type, I tried it, and it's like if I clicked on nothing. For instance, I go to "System | Administration | Synaptic Package Manager" and when I clik on it, I am ocasionally asked for my password, but wether I'm asked or not, the application does not show up, and no error messages either. And that happens for everything in the "System | Administration" menu.

Does any one have any idea?

Last edited by ernesto_cgf; 11-15-2005 at 03:28 PM.
 
Old 11-15-2005, 05:27 PM   #9
svinka
Member
 
Registered: Oct 2004
Location: Virginia, USA
Distribution: SuSE 9.3 Professional, Kubuntu 5.04, Ubuntu 5.04, Knoppix 4.0
Posts: 81

Original Poster
Rep: Reputation: 15
Ok, this is what i did. Boot to knoppix, or any other linux. There are two ways to do the next step: 1) you do chroot to your ubuntu/kubuntu root partition and then use sudoedit command or 2) you just open the file /etc/sudoers (on the ubuntu partition). Now, just add your username with ALL (as in all permissions) at the end and voila! Now you should basically have root privelages (which is not really good by the way).
Well, I wouldn't say this is the solution to the problem - it's just a way to bypass it. If anyone knows how exactly does ubuntu handle all this and what's the correct way to solve this problem, that'd be really helpful.

svinka
 
Old 11-20-2005, 12:51 PM   #10
labiuai
LQ Newbie
 
Registered: Nov 2005
Location: São Paulo, Brasil
Distribution: Ubuntu 5.10
Posts: 4

Rep: Reputation: 0
Just solved it!

I've just switched to Ubuntu(used Debian beafore) and been having this same problem. I acctually came here for an aswer.. but ended up solving this "mistery"hehe.

export EDITOR=gedit && sudo visudo

# User privilege specification
root ALL=(ALL) ALL

user ALL=(ALL) PASSWD: ALL


just put the "PASSWD" that it will ask for password every time and launch the applications from the system bar(mine didnt launch either). this way is gonna be hard for your cat to srew up your computer(no root previleges for pets).
 
Old 11-20-2005, 01:15 PM   #11
labiuai
LQ Newbie
 
Registered: Nov 2005
Location: São Paulo, Brasil
Distribution: Ubuntu 5.10
Posts: 4

Rep: Reputation: 0
I just realized it wasnt that simple.. it asked for the password on the first time.. but afterwards its just as if I was root.
I hope that helped someone.
 
Old 11-20-2005, 10:17 PM   #12
labiuai
LQ Newbie
 
Registered: Nov 2005
Location: São Paulo, Brasil
Distribution: Ubuntu 5.10
Posts: 4

Rep: Reputation: 0
now its working.. i rebooted the system after writing that ("ALL=(ALL) PASSWD: ALL") down. i actually think thres isnt even such thing as PASSWD because i dont know how to program and didnt bother to look for that. but in my pc it only prompts for the password this way, probably by some sort of error caused by the bad script.

i thoght it didnt work on the second messege becaus wehn you have a "root permission program" open and try to open another one i doesnt prompts for the password. after you close all admin programs and try to open another one it will ask for your user password and its gonna open the program afterwords. i think it was suposed to be this way with only - user ALL=(ALL) ALL - but it looks like its not just for me that it doesnt work.

i suggest you try the bugged sudo(its not gonna be dangerous) because it may accually work for you guys too.

im really curious to see if thats really the thing.
by to all
 
  


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 11:28 PM
Booting into Single User on MDK 9 asks for root password instead of booting into root acadcworks Linux - General 6 01-10-2006 07:51 AM
Logged in as root, prompted for root password ta0kira Slackware 13 04-25-2005 02:29 AM
Root Password Problems Kintwa Linux - Newbie 2 10-10-2004 09:46 PM
Problems with Root Password J_Bone Linux - Security 17 09-30-2003 06:25 AM


All times are GMT -5. The time now is 08:59 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration