Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
ok, a couple of things. i used some of the commands previously put into this thread to delete the user whose passwd i was having trouble with. i then created a new user and password by doing:
[root@localhost root]# userdel username
[root@localhost root]# adduser newname
[root@localhost root]# passwd newname
then it prompted me for the new passwd, and i typed it in. it didnt reject it as something that was based on a word found in a dictionary, so that wasnt the problem. after the final password propmt, though it said:
passwd: user not known to the underlying authentication module
so i tried to view /etc/passwd with the cat command cause it's the only command i know that will view a file. when i viewed /etc/passwd, there were also other lines that had !! in the place where the password is. based on what whansard said about the games thing that i thought was a user actually being a group, i'm guessing that these are also groups, and that the exclamation points are a bad sign. the groups with !! are:
rpm, vcsa, rpc, xfs, and my newuser. any help would be wonderful.
ok, i've been researching my problem on other sites as well as this one, and somewhere i saw that the /etc/shadow file was important. so i looked for it on my computer, and it's not there. could this be causing my problem? if it is, how do i create this file?
"ok, i've been researching my problem on other sites as well as this one, and somewhere i saw that the /etc/shadow file was important. so i looked for it on my computer, and it's not there. could this be causing my problem? "
If you are missing /etc/shadow then you cannot log into anything and Linux is unrunnable. So I doubt that you are missing /etc/shadow.
If it really is missing then boot a rescue cd and restore both /etc/shadow and /etc/passwd back to the same point in time (i.e. /etc/passwd and /etc/shadow have to correspond).
ok, how would i do that? and also, i don't really have any passwords. i have only created one user, and i havent been able to set taht password, and then i have root, and i haven't set a password for that yet either.