Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
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.
Originally Posted by pixellany
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.
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.