SlackwareThis Forum is for the discussion of Slackware Linux.
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 have recently deleted by a stupid mistake file /etc/login.defs thus I am unable to login; not even in single user mode. Basically it won't let me to type my password in, only the first "user login line" is available.
I have found login.defs somewhere online and intended to place it where it belongs using fs-driver in Win7 but the driver sucks and does not allow me to see my ext4 partition.
Anyone has any ideas how to restore my root account, please?
thank you for a quick response; I booted from my CD already using standard command, in my case hugesmp.s boot root=dev/sda3 rdinit= rw Unfortunately the result same, thus negative and I still cannot access the filesystem at all
Which cd are you talking about? I'm talking about a real liveCD, not the slackware install cd/dvd.
After it boots you should have a working linux environment (could be CLI or GUI depending on the cd).
From there you should create a mount point (example: mkdir /mnt/tmp_slack) and mount your slackware partition (mount -t ext4 /dev/XXXY /mnt/tmp_slack [replace XXXY with correct device and number, I'm guessing sda3]).
If all went well you should be able to cd to /mnt/tmp_slack/etc and replace your login.def.
Unfortunately, I am back here again. It seems to me that Slack has no support for ext4 and its unable to mount it. If I try to add "-f" to the suggested command, it mounts, but the focused directory is empty. I have tried to find various drivers that could read my linux partition under windows, only ext2fsd does just listing / directories but down to the tree shows nothing. Any other ideas please?
PS: Just to make sure to avoid more time loss.... I downloaded whole folder slackware_current from official ftp server, because I would guess that iso provided won't be really the current. If I will burn the folder to the dvd would that be operationally equal to burned iso?
I booted from my CD already using standard command, in my case hugesmp.s boot root=dev/sda3 rdinit= rw
It should be root=/dev/sda3. I guess sda3 is your / partition
What Slackware CD are you trying to boot? IIRC Slackware 13 supports ext4, so just press <Enter> when at the boot prompt to boot using the default kernel on the cd (huge.s).
Login as root, mount /dev/sda3: