» Linux » Examen sur Linux » Examen 201 : Advanced Administration » Section 2 » Question 5/20
5.You are trying to boot a system and change the root password, which you do not know. What do you type at he LILO prompt?

linux /etc/passwd
linux norootpass
linux disable passwords
linux init=/bin/bash
linux passwd=0

Explanation: If you forget the root password, you can boot init into the shell and change the password using the following commands:
boot: Linux init=/bin/sh
bash# mount -o remount / -rw
bash# passwd root

Reference: Michael J. Tobler. New Riders, Inside Linux: Page 466.

Incorrect Answers
A: linux /etc/passwd is not a valid boot prompt command.
B: linux norootpass is not a valid boot prompt command.
C: linux disable passwords is not a valid boot prompt command.
E: linux passwd=0 is not a valid boot prompt command.

« Question 4 Question 6 »