The script checks whether the euid is 0 and fails with an error message otherwise. However, if /etc/security/limits.conf has been modified, it might actually be possible for normal users to manipulate rtprio.
Because of that, this check should be removed.
Log in to post a comment.