Multiple choice technology operating systems

The command used to get the permission rights of lsfadmin inorder to change the file parameters is

  1. sudo - su lsfadmin

  2. sudo su - lsfadmin -

  3. sudo su - lsfadmin

  4. sudo su -lsfadmin

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The sudo su - lsfadmin command switches to the lsfadmin user while loading their environment (the - flag). This gives you the permission rights of lsfadmin to modify file parameters. Option A is incorrect syntax, B has an extra trailing -, and D is missing a space.