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.
Not so nice, indeed.
I red the previous posts and followed your hints but no success.
When in single mode, I have been able to change pwd (I got a message 'passwd: all authentication tokens updated successfully.' but if I type 'su'+<enter> (still at the sh-2.05a# prompt), I get 'su: incorrect password'.
Just another point: from the sh-2.05a# prompt, if I type 'login' then at the 'login: ' prompt I type 'root' and at the subsequent pwd request the new pwd, I still get 'Login incorrect'.
Another spec.: if I do a regular boot, I see some msgs. concerning problems with fierewall and IP masquerading. Does this interfere with login?
Thanks for your time.
Last edited by pucherprencis; 08-03-2002 at 11:15 AM.
Are you still in the single user mode (runlevel1) ??? Guys, really it was asked before million times, and acid is not offensive in any way, you are either learn or stick to something less brain intensive. This is the only way to change root pass if you can't do it regular way with passwd when you log in as root in one of the terminals (not runlevel1). Unless you password protect single user mode - Bastille can do it, I wasn't able to figure out how to pass protect single user mode on my own yet.
P.S. And this thread is old. Why did you change your root pass? Curiousity? Or you forgot one?
I dont why it's not working with you.....ok just do some manual changes in your /etc/passwd while you
are still in single mode....just remove x from the password field of it(namely the second field).....or to
be on more safe side ,create a new user belonging to root group with blank password field.....keep rest
of the fields same as that of root's......type "su - <new_user>" + <enter>
Once I had the same problem.
Since I also had Window$ on my machine, I was told here to download, prepare and boot from a single floppy linux system, then simply edit /etc/passwd to delete the wrong password.
It was easy and it worked.
See details at this thread: http://www.linuxquestions.org/questi...threadid=20048
Jjust to be quick, one post for all of yours, A-dummy & neo-7s.
1. I did not change the pwd; simply one morning I was not able to login again; I'm really new to linux: I am doing experience to leave MS servers to something less frustrating; this is the second time that this situation happens; the first time, I reinstalled everything, thinking that I lost the correct pwd; the second time I wrote down the pwd so I am sure that I am using the right one; no one have phisical access to the PC but it is connected to the Internet with ADSL and a public IP: hackers?
2. The /etc/securetty file lists 24 lines, where the first 11 contain 'vc/1' to 'vc/11'; the following 11 contain 'tty1' to 'tty11' and the last 2 both the '~' character.
3. The /etc/passwd file does not exits; neither the /etc/shadow.
Thans a lot for your help.
Oh-uh, compromised!?! Think again about it if there's no passwd database how on earth you are supposed to get in, are you still in single mode? I would strongly concider reinstall with at least basic iptables firewall with a broadband connecton you are not only sweet target for script kiddies - you are a danger to others as well - don't be surprised if your ISP'd give you a courtesy call to inform you that your machine participated in DDoS (distributed denial of service) attack agains someone you might've not heard of.