Changing server setting when not allowed to do sudo su

Forum / NoMachine for Linux / Changing server setting when not allowed to do sudo su

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #38662
    gcollins
    Participant

    Hi,

    When I try to change Server Settings on the UI (Ubuntu 20.04), I get the error “Authentication failed, please try again”.

    When I look in /var/log/auth.log it appears that NoMachine is trying to do a “sudo su” which I am not allowed to do on this machine:

    I see the command NoMachine is trying to run from sudo is:

    /usr/bin/su -l root -c pwd

    Anyway around this? I know I can run these commands from the command line to stop/start the server:

    sudo /etc/NX/nxserver --shutdown/--startup

    But I was hoping to use the UI

    Thanks!

    #38667
    Cato
    Participant

    Hello gcollins,

    Can you try to use root’s credentials in prompt asking for user with administrative rights?

    #38669
    gcollins
    Participant

    I don’t have root credentials, only sudo with restrictions (i.e. no sudo su and restrictions on stopping specific services)

    #38682
    Cato
    Participant

    NoMachine allows administrative operations to be performed on Linux only by root account or by demonstrating administrative privileges by being able to ‘sudo su’.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic was marked as closed, you can't post.