Oracle
1Z0-403 · Question #86
As a Linux administrator, you have executed the commands as shown below: [root@server1 ~]# useradd -g red smith [root@server1 ~]# id smith uid=513(smith) gid=515(red) groups=515(red) [root@server1…
The correct answer is E. readers. See the full explanation below for the reasoning.
Question
As a Linux administrator, you have executed the commands as shown below: [root@server1 ~]# useradd -g red smith [root@server1 ~]# id smith uid=513(smith) gid=515(red) groups=515(red) [root@server1 ~]# groupadd -o -g 515 readers [root@server1 ~]# groupadd -o -g 512 writers [root@server1 ~]# usermod -G readers,writers,apps smith [root@server1 ~]# su - smith [smith@server1 ~]$ touch file1 file2 [smith@server1 ~]$ logout [root@server1 ~]# usermod -g apps smith [root@server1 ~]# groupdel red What would be the group of file1 and file2 after executing all these commands?
Options
- Ared
- Bapps
- Csmith
- Dwriters
- Ereaders
How the community answered
(24 responses)- A4% (1)
- B4% (1)
- C13% (3)
- D8% (2)
- E71% (17)
Community Discussion
No community discussion yet for this question.