Management Console Not Profiling with non-root user error permission denied
On MCU 2.0.0, you need to specify the root account or an account who can do sudo in order to profile a machine.
TIn MCU 2.0.0, the account must have elevated privileges to perform task as root. Please note this is not the case in MCU 2.0.1 version for profiling a host. However you still need elevated privileges to join to AD. To join without a root account in MCU 2.0.1, you can setup custom privilege elevation commands. Please see the MCU Admin guide for further information on this.
Here is a brief how to on the setup of sudo:
This rule allows the members of the users group to run every command as root:
%unix ALL=(root) NOPASSWD: ALL
# User privilege specification
root ALL=(ALL) ALL
The root user can execute from ALL terminals, acting as ALL (any) users, and run ALL (any) command.
ALL : Allow sudo access from any terminal ( any machine ).
(ALL) : Allow sudo command to be executed as any user.
ALL : Allow all commands to be executed.
Following is general syntax used by /etc/sudoers file:
USER: Name of normal user
HOSTNAME: Where command is allowed to run. It is the hostname of the system where this rule applies. sudo is designed so you can use one sudoers file on all of your systems. This space allows you to set per-host rules.
COMMAND: A simple filename allows the user to run the command with any arguments they wish. However, you may also specify command line arguments (including wildcards). Alternately, you can specify "" to indicate that the command may only be run without command line arguments.