Question 1hardmultiple choice
Read the full Manage users and groups explanation →EX200 Manage users and groups • Complete Question Bank
Complete EX200 Manage users and groups question bank — all 0 questions with answers and detailed explanations.
Refer to the exhibit. [root@server ~]# id alice uid=1002(alice) gid=1002(alice) groups=1002(alice),10(wheel),50(staff) [root@server ~]# ls -ld /project drwxrws---. 2 root staff 4096 Mar 15 14:22 /project [root@server ~]# ls -l /project total 0 -rw-rw----. 1 alice staff 0 Mar 15 14:23 report.txt
Refer to the exhibit. [root@server ~]# getent passwd webuser webuser:x:1001:1001:Web User:/home/webuser:/sbin/nologin [root@server ~]# ls -ld /var/www/html drwxr-xr-x. 2 root root 6 Jan 10 10:00 /var/www/html [root@server ~]# ls -lZ /var/www/html drwxr-xr-x. root root unconfined_u:object_r:httpd_sys_content_t:s0 /var/www/html [root@server ~]# id webuser uid=1001(webuser) gid=1001(webuser) groups=1001(webuser) [root@server ~]# groups webuser webuser : webuser
Drag steps to the numbered slots on the right, or tap a step then tap a slot.
Drag a concept onto its matching description — or click a concept then click the description.
Low trust; only allow selected incoming connections
Moderate trust; for private networks
High trust; accept all connections
For publicly accessible systems isolated from internal network
# cat /etc/group root:x:0:root bin:x:1:bin,daemon daemon:x:2:bin,daemon sys:x:3:root,bin,adm adm:x:4:root,daemon,adm tty:x:5: disk:x:6:root lp:x:7:daemon,lp mem:x:8: kmem:x:9: wheel:x:10:root,alice,bob ssh_keys:x:101: sshd:x:74: alice:x:1001: bob:x:1002:
# useradd -D GROUP=100 HOME=/home INACTIVE=-1 EXPIRE= SHELL=/bin/bash SKEL=/etc/skel CREATE_MAIL_SPOOL=yes
# grep ^^bob /etc/passwd /etc/shadow /etc/group /etc/passwd:bob:x:1002:1002:Bob Smith:/home/bob:/bin/bash /etc/shadow:bob:$6$abc123$...:18000:0:99999:7::: /etc/group:bob:x:1002:
Refer to the exhibit. [exhibit] getfacl /shared # file: shared # owner: root # group: staff user::rwx user:jdoe:--- group::rwx mask::rwx other::--- [/exhibit]
Refer to the exhibit.
[exhibit]
[sudo -l output for user alice]
Matching Defaults entries for alice on this host:
!visiblepw, always_set_home, env_reset, env_keep="COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR LS_COLORS",
env_keep+="MAIL PS1 PS2 QTDIR USERNAME LANG LC_ADDRESS LC_CTYPE",
env_keep+="LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES",
env_keep+="LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE",
env_keep+="LC_TIME LC_ALL LANGUAGE LINGUAS _XKB_CHARSET XAUTHORITY",
secure_path=/sbin\:/bin\:/usr/sbin\:/usr/bin
User alice may run the following commands on this host:
(root) /usr/bin/less /var/log/secure
(root) /usr/bin/tail /var/log/messages
[/exhibit]Refer to the exhibit. $ id user1 uid=1000(user1) gid=1000(user1) groups=1000(user1),10(wheel)