sysadmin is not in the sudoers file
时间: 2023-08-13 07:26:18 浏览: 148
解决 用户不在 sudoers 文件中 的问题
This error message typically means that the user "sysadmin" is not allowed to run commands with administrative privileges using the "sudo" command. To resolve this issue, you will need to modify the sudoers file to grant "sysadmin" the necessary permissions.
To do this, you can log in as a user with administrative privileges and run the command "visudo" to open the sudoers file in your default text editor. Then, add a line to the file that grants "sysadmin" the necessary permissions. For example:
```
sysadmin ALL=(ALL) ALL
```
Save the file and exit the text editor. The user "sysadmin" should now be able to run commands with administrative privileges using the "sudo" command.
阅读全文