Changes

Jump to: navigation, search

Review Questions for Test 1

627 bytes added, 22:48, 15 October 2008
The easiest way to recover the root password for GNU/LINUX in case we lost it, is
=== Which command can be used to fill your hard drive with 0s ?===
*'''dd if=/dev/zero of=/dev/devicesda bs=1M'''
* ff
* e2fs
* fdisk
=== Which linux command can be used to make a image ?'''===
* mkimage
=== What does the command losetup do ?===
*'''It associates a file to a device (Ex:losetup /dev/loop0 fakedisk)
* nothing
* reboot the computer
* It erases the setup (lose setup)
 
=== The Operating system on our computers, we usually call it Linux. But Linux is actually a name for ===
 
* Operating System
* '''Kernel '''
* boot loader
* none of above
 
=== The easiest way to recover the root password for GNU/LINUX in case we lost it, is ===
 
* open the /etc/passwd file in vi editor & look for root password
* boot the computer form CD/DVD in run level 5 and run the passwd command
* boot the computer with MS-Linux Xp/Vista Live CD then click Start->Control Panel->Change MSlinux Password option.
* '''boot the system in single user mode & change the root password with /usr/bin/passwd command '''
1
edit

Navigation menu