From cbb4e0d08253b41327e7a644fd47a84d2bad758a Mon Sep 17 00:00:00 2001 From: Abdellah Date: Sun, 23 May 2021 17:42:06 +0200 Subject: [PATCH] add whoami answer --- data/list_book1.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/list_book1.csv b/data/list_book1.csv index b6d72af..e8cf2e1 100644 --- a/data/list_book1.csv +++ b/data/list_book1.csv @@ -71,7 +71,7 @@ "010-160",1,"What is the purpose of the system account with a UID of 0?","It's the system administration account.","It's the account for the first ordinary user.","Nothing. UID 0 is left intentionally undefined.","It varies from one distribution to another.","It's a low-privilege account that's used as a default by some servers." "010-160",,"What type of information will you find in `/etc/passwd` for ordinary user accounts? (Select all that apply.)","A user ID (UID) number","A complete listing of every group to which the user belongs","The path to the account's home directory","The path to the account's default GUI desktop environment","The path to the account's default text-mode shell" "010-160",1,"You want to run the command `iptables -L` as `root` but you're logged in as an ordinary user. Which of the following commands will do the job assuming the system is configured to give you `root` access via the appropriate command?","`sudo iptables -L`","`root iptables -L`","`passwd iptables -L`","`su iptables -L`","`admin iptables -L`" -"010-160",,"True or false: `whoami` provides more information than `id`.","True","False",,, +"010-160",2,"True or false: `whoami` provides more information than `id`.","True","False",,, "010-160",,"True or false: Linux stores information on its groups in the `/etc/groups` file.","True","False",,, "010-160",2,"True or false: As a general rule you should employ extra care when running programs as `root`.","True","False",,, "010-160",,"What would a Linux system administrator type to remove the `nemo` account and its home directory","`userdel nemo`","`userdel -f nemo`","`userdel -r nemo`","`rm /home/nemo`","`rm -r /home/nemo`"