题型:单选题 标签:Linux操作系统管理员
题目:
39. 作为一位Linux操作系统管理员,在系统上执行了如下命令:
[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
请问,在以上所有命令执行之后文件file1和file2应该属于哪一个群组?
A red
B apps
C smith
D writers
E readers