add whoami answer

This commit is contained in:
Abdellah 2021-05-23 17:42:06 +02:00
parent 0177841961
commit cbb4e0d082
1 changed files with 1 additions and 1 deletions

View File

@ -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",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",,"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",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",,"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",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`" "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`"

1 LEVEL ANSWER QUESTION 1 2 3 4 5
71 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.
72 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
73 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`
74 010-160 2 True or false: `whoami` provides more information than `id`. True False
75 010-160 True or false: Linux stores information on its groups in the `/etc/groups` file. True False
76 010-160 2 True or false: As a general rule you should employ extra care when running programs as `root`. True False
77 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`