PrepAway - Latest Free Exam Questions & Answers

Which command is used to assign root privileges to an existing user?

Which command is used to assign root privileges to an existing user?

PrepAway - Latest Free Exam Questions & Answers

A.
/nas/sbin/enableRootToUser

B.
/nas/sbin/switchToRoot

C.
/nas/sbin/enableRootID

D.
/nas/sbin/addRootIdToUser

Explanation:

To add the root privileges, enter the command /nas/sbin/addRootIdToUser <username>. As
the command runs it can be seen that the UID is changing from 501 to zero. If you run the
command id root_user again you can now see the command was successful and the UID is
0


Leave a Reply