文件/etc/passwd的第4个字段是?
A. home directory
B. UID
C. login shell
D. primary group
文件/etc/passwd和/etc/shadow中包含相同内容的字段是?
A. Password
B. Account expiration date
C. UID
D. GID
E. User account’s username
以下哪条命令可以从/etc/passwd中提取并排序用户名?
A. cat /etc/passwd | awk -F: '{print $1}' | sort
B. sort /etc/passwd | cut
C. echo /etc/passwd
D. cat /etc/passwd | awk '{print $1}' | sort
以下哪个文件包含用户信息,例如用户名和真实姓名,并且对所有用户都是可读的?
A. /etc/pass
B. /etc/shadow
C. /etc/passwd
D. /etc/userinfo