Which of the following commands can be used to limit the amount of memory a user may use?

A.

umask

B.

usermod

C.

ulimit

D.

passwd

E.

chage

题解

选项 A,「umask」指令可以指定目前创建目录或是文件的权限默认值。

选项 B,「usermod」指令可以修改用户。

选项 C,「ulimit」用来取得或是设置用户被限制的系统资源。为正确答案。

选项 D,「passwd」指令可以更改用户的密码。

选项 E,「chage」指令可以修改用户帐号的失效日期,或是密码的失效日期、上一次修改日期。