on
01-03-2013
07:30 PM
- edited on
01-24-2023
08:02 PM
by
sophie
If your scanning credential does not have the sudo rights to scan the required Linux information, you may receive a LinuxNoSudoRights error during a Linux scan.
To resolve the Linux scanning error:
sudo groupadd groupname
, replacing groupname
with your preferred group name:sudo usermod -a -G groupname username
, where groupname
and username
are replaced by your desired names:grep groupname /etc/group
.sudo visudo
and a password, if prompted.username ALL=(ALL) ALL
. To give all users within a group permission to use sudo, locate a line that looks like %groupname ALL=(ALL) ALL
. Note the "%" before the group name. Common groups with sudo rights are sudo and wheel.:wq
then click Enter to save and exit the editor.The LinuxNoSudoRights errors should now be resolved. If the issue persists, browse and post in our Community Forum, or contact our support team directly.