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!
Notices
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.
Hello people, hope your had a great Sunday?
Am having issues logging into my system with a user have been using for a long time now. Anytime my system boots up and i try to log in with a user have always used to log in, its give me this error
The funny and amusing thing is,have used the same user to log in to my system uncountable times.
I can log in as Root, and to this user that i cant log in with as Root. I checked my and everything looks good. Am puzzled and would need from someone prof erring and solution and the cause. The OS is Oracle Linux 5
Well, the only reasons would be your user is wrong or password is wrong. So either you have caps-lock on, a broken key on your keyboard, or someone changed your password. Since you have root access, not sure what you need help with...log in as root, and change your password back. Look around at the system logs, see who logged in last, and what command(s) were run. Also, how did you 'check' your passwd and shadow files?
You don't say what version/distro of Linux you're using, what environment (home? work?), how many user(s), etc., so it's hard to even speculate on what could have happened.
Thanks for the reply. to give answers to the questions asked.
1)You made mention about the password or user name being wrong, i can tell you perfectly that neither is the case, the password and the username is perfectly right. to squash all doubts, i infact use the same password for the "root" user, yeah you might think that is totally wrong, yeah i agree, its just a personal test computer with Oracle Linux 5 installed on a VMware.
So the puzzling thing is this, i fail to log in with the same password i use to log in as root, so that obvious that no key is broken
2)You asked for my Distr, i use an Oracle Enterprise Linux 5
3)You also asked for how many users, as i said its a test system and personal computer used to get familiar with the LInux OS.
4) You asked how i checked "passwd and shadow file" c'mon , i "cat /etc/passwd and /etc/shadow" just to be sure if the user existed and the password hash in the "/etc/shadow file" for the said user.
Still puzlled and still looking for an answer if one exist?
Hi TBOne.
Thanks for the reply. to give answers to the questions asked.
1)You made mention about the password or user name being wrong, i can tell you perfectly that neither is the case, the password and the username is perfectly right. to squash all doubts, i infact use the same password for the "root" user, yeah you might think that is totally wrong, yeah i agree, its just a personal test computer with Oracle Linux 5 installed on a VMware.
Sorry, but SOMETHING is obviously wrong with your user ID or password. If they're both correct, you would be able to log in.
Quote:
So the puzzling thing is this, i fail to log in with the same password i use to log in as root, so that obvious that no key is broken
That would rule out the broken key...just a stab in the dark there.
Quote:
2)You asked for my Distr, i use an Oracle Enterprise Linux 5
Ok.
Quote:
3)You also asked for how many users, as i said its a test system and personal computer used to get familiar with the LInux OS.
You didn't say this in your first post, which is why I asked. And if you want to get familiar with Linux, you should REALLY not use OEL or RHEL. Those are commercial, pay-for, server type distros. You can run Fedora, Debian, openSUSE, or Mint, and still have the same capabilities, all with access to online repositories/updates/patches. Also, OEL and RHEL are NOT designed for consumer-grade hardware...so things like sound, bluetooth, etc., may have issues. But, that's up to you...if you want the headaches and old software, enjoy.
Quote:
4) You asked how i checked "passwd and shadow file" c'mon , i "cat /etc/passwd and /etc/shadow" just to be sure if the user existed and the password hash in the "/etc/shadow file" for the said user
So not really 'checking' those files, just looking for the user ID, which is good. As cepheus11 pointed out, if your user ID is locked, you won't be able to log in.
...which brings us back full circle. SOMETHING changed, and SOMEONE had to do it; again, look at the system log files and the user histories for the user(s) on your system. Check the "last" command out, and see who logged in when, and from where. If you accidentally locked your account, unlock it. Reset your password.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.