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 10-27-2006, 04:11 PM   #1
koady
LQ Newbie
 
Registered: Oct 2006
Location: Berlin
Distribution: Ubuntu Edgy, Debian Etch, Sidux
Posts: 13

Rep: Reputation: 0
Lost root level access


Hi,
I am using Kanotix (2006-01-RC4) and ran the following command (as part of a process to try an resolve a driver issue for WLAN card):
"su -c /usr/share/bcm43xx-fwcutter/install_bcm43xx_firmware.sh"
After running this, I no longer have a valid root password. I think the problem is that I ran the command as root (instead of "user_name", but not sure) which then locked out my access to some areas. I can open a console and type:
"su" then "my_root_passwd" and it switches me to root. But when I try to enter a configuration screen from the desktop, I get prompted for "my_root_passwd", and enter it, but response is "invalid". I am not familar enough YET with issuing complex instructions from the console (or, I suspect, I could resolve the problem). Can someone give me advice about how to fix this. I can't do much because my privileges are locked out on the desktop and I don't know how to do things from the console. Dumb noob situation... I know, but we all have to start somewhere. Thanks
koady
 
Old 10-27-2006, 04:34 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
first, "su <command>" is not valid. To run something as root, you need "sudo <command>.

This said, it is hard to see how this would have changed any of your password, permissions, etc.

Try this:
su ---to become root
passwd ---to change the root password

passwd <username> ---to change your regular user password

reboot and see if normal behavior comes back

In Kanotix, does the main user have any "super-user" powers--as in Ubuntu?
 
Old 10-27-2006, 04:58 PM   #3
koady
LQ Newbie
 
Registered: Oct 2006
Location: Berlin
Distribution: Ubuntu Edgy, Debian Etch, Sidux
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany
first, "su <command>" is not valid. To run something as root, you need "sudo <command>.
The problem is I ran the command as "root" and not as "user_name". I have read that it is possible in this situation to change files and therefore lock out, or change the group, of the regular "user_name", but I don't know why the "root_passwd" still works in the console but not when prompted by desktop apps. I think it is related to KDM, but not sure.

Quote:
Originally Posted by pixellany
Try this:
su ---to become root
passwd ---to change the root password

passwd <username> ---to change your regular user password

reboot and see if normal behavior comes back
I already tried this. As I said, works in the console no problem, but not from desktop apps, and I don't know how to run the commands I need to from the console.

I have something to learn here (especially not being so fast to cut an paste commands into a console). I am committed to swiching from m$ to Linux, but the first steps are difficult.

Stupid situation... I know. I would be grateful for any help.
koady
 
Old 10-27-2006, 06:01 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
To be sure we are understanding each other...Did you change the password for both root and your username, reboot-----and you still cannot run things from the desktop?

check this also: When you try to run an app from the desktop--if one password does not work, try the other one.

If neither the root password nor your user password will work, then I have NO CLUE...
 
Old 10-27-2006, 06:16 PM   #5
koady
LQ Newbie
 
Registered: Oct 2006
Location: Berlin
Distribution: Ubuntu Edgy, Debian Etch, Sidux
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany
To be sure we are understanding each other...Did you change the password for both root and your username, reboot-----and you still cannot run things from the desktop?
Sorry, I should have read your post more carefully. I have only tried this for "root_passwd" and not for "user_name_passwd". But, in Kanotix if I try to open, lets say, the 'root level text editor' (not a simply a text editor) it prompts me for the "root_passwd" not "my user_name_passwd". After hastily running commands I did not understand (mentioned in previous) the problem now is when I attempt to, say, edit the network configuration using the desktop shell application (or any config application), in Kanotix it prompts me for a "root_passwd" which is now no longer valid. This was not presenting any problem until now.
coady
 
  


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
Lost root access in MySQL telakenesys Linux - Software 9 02-23-2011 05:48 AM
emacs in run level 3 then switch to X (level 7) then back to level 3 dsoliver Slackware 3 09-01-2006 04:31 AM
cd to Folder on the Same Level as root. thammerlund Linux - Newbie 2 07-20-2006 02:13 AM
higher access level for a user? herc Linux - General 2 12-29-2003 11:50 AM
changing access level in Inheritance aashishagrawal Programming 1 12-03-2002 08:23 PM


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