Services and User Management

An unprivileged user owns a process that runs at nice value 5. By default, which change can the user make with renice without root privileges?

Show the answer

Correct answerC. Raise the process's nice value to 10

AWhy not this: Lowering the nice value raises the process's priority, which needs root or CAP_SYS_NICE by default.

BWhy not this: Negative nice values give higher priority and need root or CAP_SYS_NICE.

CWhy this is right: An owner may raise the nice value of their own process, lowering its priority.

DWhy not this: Unprivileged users can renice only processes they own.

Raising a nice value lowers a process's priority, so a user may do this to their own processes. Lowering it gives the process more CPU preference and requires root or CAP_SYS_NICE, so the claim that any owner can lower it is wrong.