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 just overhauled one of my systems and installed Mandrake 9.2 from the ground up. During the process, for some reason, the install never asked me to set a root password. I can log on as root, but it doesn't require a password, whereas the other account that I setup manually from within the root password, does require the password I specified.
I tried changing to root within a terminal and running the passwd command, which does prompt me for the new password that I would like to set, but I get the following error, even when I log on as root and use the same command from within the terminal:
'passwd: User not know to the underlying authentication module'
What does this mean, and more importantly, how do I correct this?
As always, thanks to all that take the time to answer! All help is appreciated by this newbie!
I get the same error whether I am logged on as root or not. When I am not logged on as root, I do user the su command, but I am not prompted for a password. When I log out and log back in as root, I am also not prompted for a password, but I get the same error either way.
I was wondering if it would be a good idea to give my existing account that does recognize a password root permissions and try it then. I know this is risky, but I don't know what else to do.
As a side note, when I go into the Mandrake Users Management tool, I see that the user account that I created shows a status of Expired. Could this have something to do with the fact that I am not able to set the root password? If so, how do I change this? When I try to edit the properties of this account, in userdrak, there is no place to change this status...
The problem here is that I am booting straight into the graphical interface, and don't know how to boot to a command prompt (terminal). And if I did, I don't know how I would boot back into the GUI. If anyone else has any ideas about this, please let me know.
I think they mean type 'linux init=/bin/bash' at the lilo boot screen, not waiting until the system boots. Or perhaps you are not using a boot loader? In that case, log out, specifying 'log in as a new user' instaed of 'shutdown'. This should get you to the graphical login screen (kdm). Then log back in, but select 'terminal' or 'failsafe' instead of your gui. Log in, then shut down. Usually the system will default start to the last shutdown setting so that should start you in a terminal setting. 'Startx' should get you into the gui when you need it. But I don't think this is what the above thread intends, you are supposed to enter the boot parameter before the system actually boots. Therefore I think if you are not now using lilo (or grub) you will have to install it.
I haven't actually tried the procedure in the thread, maybe it won't work. I'll give it a test as soon as I can.
I really appreciate all the effort that you have put into researching this issue, CrashedAgain, but I still get the same error when I try to set the root password, even from the text-based mode. I think I will try running a repair re-install to see if that works.
Once again, thanks for all your help! I will post back once I have finished.
The answer was to log in as root, run the grpconv, then run pwconv, open the terminal and run passwd root and enter/confirm the new password. This resulted in the "All authentication modules updated." message!!!!
Now I have a root password set on my machine!!!!
Once again, thanks to all that tried to help, and I hope this helps others!!!!