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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thr system doesn't recognize my username and passwords. When I start the computer, linux boots perfectly. It then asks for a username and password, which I type in the right order. But it then says "wrong username or password". This is not a caps lock problem. The problem came after mounting a new filesystem while fedora was running. I forgot to unmount it and restarted linux. While the system was shutting down it gave the message that it couldn't automatically umnount the file system I just mounted, and that I had to di it manually. But it was not possible to type any commands, so I push'd the restart button. I have my root (/) and /usr on two different partitions, which was working perfectly until I mounted another file system. now there is a /usr at the same patition as / and I thin that is the problem.
I booted the system with a knoppix live cd to see the partitions, but i can't make any changes to the files on the harddrive, because i don't have permissions to do so.
But how do I reset passwords or get the system back to normal again??
Boot with a rescue disk or with Knoppix and do "fsck -f /dev/xxxx" (whatever your partition is) to check the filesystem for problems. You can "su" to become root in Knoppix to get permissions to do anything.
Hi Spoon,
I can't even login with root.
I did -fsck -f /mnt/hda6, it check'd the file system and reported that 3.3% of the data doesn't point to each other.(it was in german so this is a very poor translation ;-). I still can't login.
...But how do I reset passwords or get the system back to normal again??
shFourier: Boot into single user mode and use the passwd command to reset the root, etc. passwords.
You can get into single user mode (runlevel 1 /init 1) by editing the grub boot commands from the startup grub menu (i.e., “press any key...”). Select the grub menu line you normally boot with, edit it (see the commands below the menu) and then edit the “kernel...” line on the next screen. To the end of the kernel line, add “ init 1", without the quotation marks (i.e., ...quiet init 1). Then save the commands and boot. You will boot to command line and can run passwd, other utilities (e.g., e2fsck /dev/...) or attempt to start X (i.e., startx).
Once you are looking at the grub menu, these steps will be a lot clearer.
Last edited by WhatsHisName; 10-26-2005 at 01:38 PM.
I did the grub thing and it work'd perfectly. Thanx a'lot for your help. The only thing is that it only recognizes the root user. But that is not a problem at all.
The “single-user grub backdoor” used to bother me from a security standpoint, but the proliferation of Live-CD linux distros makes looking inside almost any system trivial.
But with the availability of linux-based win_nt/2k/xp password resetting utilities (http://home.eunet.no/~pnordahl/ntpasswd) , windows is certainly not physically secure, either.
I discovered something strange. When I look in my directories, some of the items inside have a red background and a flashing white text... ie. in /dev the items MAKEDEV, XOR, cdrom, cdrom1, cdwriter, core, fd, floppy and many more are flaching... in /usr there is a folder tmp which is doing the same. Inside temp I have 2 other folders kdecache-root and the same for my normal user. They seem to be normal. What caused the flashing, and what does it mean?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.