1 Reply Latest reply on Sep 24, 2016 6:32 AM by Kiran.Pradeep

    How to remove gwuser, wra accounts’ from sudo group?

    ctan94x_intel

      By default, gwuser and wra accounts have the sudo access.

       

      Steps to remove:

      1.) Login as root

      2.) Edit /etc/sudoers and uncomment `%admin ALL=(ALL) NOPASSWD:ALL` and `%wra ALL=(ALL) NOPASSWD:ALL`

      3.) Invoke 'sudo -l -U gwuser` command to test the sudo access.

           Expected output:

        • User gwuser is not allowed to run sudo on WR-IDP-7660

      4.) Login as gwuser

      5.) Try to edit sudoers with 'sudo vi /etc/sudoers' command.

      6.) Enter gwuser password.

           Expected output:

           • gwuser is not in the sudoers file. This incident will be reported.

       

      Last Validated Info:

      BSP: MI3.1

      Version: RCPL0018

      Device: DK300