Linux: 'Username' is not in the sudoers file. This incident will be reported

前端 未结 10 1955
南方客
南方客 2020-12-05 12:05

After logging into ssh, I got this message:

\'Username\' is not in the sudoers file. This incident will be reported.

How can I r

10条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-05 12:11

    Add your user to the list of sudoers. This will make it easier to execute commands as the user that you have created will require admin privileges.

    sudo adduser username sudo

    (Note:- Username is the user you want to give the privileges)

提交回复
热议问题