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 every body, good evening. I am new to linux world. i am now facing a problem which is as follows. I installed open suse 11.1 and doing my work. and unfortunately i forgot my root password. i am unable to boot into thhe system.I have tried following things but i couldnt recover my password 1)i tried by typing init="/bin/bash" and then mounted my root(/) partition and thhen later whhen i tried to change password with passwd command it is showing error as follows. "/usr/share/cracklib/pw_dict-pwd.gz:no such file or directory PWopen:No suchh file or directory" 2)also i have tried to work in resque mode but there i cannot unable to type any thhing please help me waiting for ur help regards sivakiran Hello, Below two different ways. This one is for Debian but should work on your distro also. “I forgot the root password!” (1) It is possible to boot a system and log on to the root account without knowing the root password as long as one has access to the console keyboard. (This assumes there are no password requests from the BIOS or from a boot loader such as lilo that would prevent one from booting the system.) This is a procedure which requires no external boot disks and no change in BIOS boot settings. Here, “Linux” is the label for booting the Linux kernel in the default Debian install. At the lilo boot screen, as soon as boot: appears (you must press a shift key at this point on some systems to prevent automatic booting and when lilo uses the framebuffer you have to press TAB to see the options you type), enter: boot: Linux init=/bin/sh This causes the system to boot the kernel and run /bin/sh instead of its standard init. Now you have gained root privileges and a root shell. Since / is currently mounted read-only and many disk partitions have not been mounted yet, you must do the following to have a reasonably functioning system. # mount -n -o remount,rw / # mount -avt nonfs,noproc,nosmbfs # cd /etc # vi passwd # vi shadow (If the second data field in /etc/passwd is “x” for every username, your system uses shadow passwords, and you must edit /etc/shadow.) To disable the root password, edit the second data field in the password file so that it is empty. Now the system can be rebooted and you can log on as root without a password. When booting into runlevel 1, Debian (at least after Potato) requires a password, which some older distributions did not. “I forgot the root password!” (2) Boot from any emergency boot/root disk set. If /dev/hda3 is the original root partition, the following will let one edit the password file just as easily as the above. # mkdir fixit # mount /dev/hda3 fixit # cd fixit/etc # vi shadow # vi passwd The advantage of this approach over the previous method is one does not need to know the lilo password (if any). But to use it one must be able to access the BIOS setup to allow the system to boot from floppy disk or CD, if that is not already set. Restore deleted critical files such as /etc/passwd Debian stores backups of critical files such as passwd, shadow, aptitude config files, … on a regular basis in /var/backups. If you accidentally delete one of these files you can copy them back to the original location. After doing so you might need to reset the permissions on the files to 644. Kind regards, Eric
'/usr/share/cracklib/pw_dict-pwd.gz:no such file or directory. How to recover the root password in suse 10.1: suse91pro: Linux - Security: 2: 10-24-2006 07:36 AM.
This page captures my effort to learn about docker images by building a docker image for. bash-4.2# gzip -d /usr/share/cracklib/pw_dict.pwd.gz bash-4.2.
/usr/share/cracklib/pw_dict.pwd.gz: No such file or directory PWOpen: No such file or directory Workarounds are: a.) Use a password with less than 6 characters.
Bash-4.2# gzip -d /usr/share/cracklib/pw_dict.pwd.gz bash-4.2# engine-setup [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup.
After installing the VM (Alfresco). Changing password for root. New Password: /usr/share/cracklib/pw_dict.pwd.gz: No such file or directory PWOpen.