Hello,
I just wanted to confirm my understanding on how the sudo shell privileges work for users in TrueNAS.
Just to be precise, my understanding is that on a default installation, all of the options under the “Authentication” section for the root user are disabled, including “Allow sudo privileges.” The root user also has it’s password login disabled.
The installation creates a default admin user that goes under the group builtin_administrators. This user can access root through the shell by entering sudo su.
The reason I’m clarifying is because I created a new non-default admin user who’s primary group is admin the users Shell is set to TrueNAS CLI and is also in the builtin_administrators and builtin_users and i checked off the Allow Sudo..., but the sudo in the shell does not work.
Is this the intention? I’m able to get sudo to work if i change the users shell to zsh or something similar.
Thanks!