Sudo privileges stopped working

sgt_jamez

Explorer
Joined
Jul 30, 2021
Messages
88
On a clean install of Scale, I created a user and gave sudo privileges. Tested and worked fine. I can't be sure when it stopped working, but I think it may have been after joining the domain. At any rate, when I SSH in and try to run a sudo action, I get this error:
Sudo_problem_error_message.JPG


Here's the user setup, unchanged from when it was working:
Sudo_problem_user_setup.JPG


Any thoughts on this would be very helpful.
 

NugentS

MVP
Joined
Apr 16, 2020
Messages
2,947
I would point you to the forum rules
Does tazzy have a password?
 

sgt_jamez

Explorer
Joined
Jul 30, 2021
Messages
88
I will check the rules. Apologies for my infractions.

Yes the user Tazzy has a password and the sudo function was working and now gives the above error.
 

artlessknave

Wizard
Joined
Oct 29, 2016
Messages
1,506
it's very possible that something with the upgrade mangled the password. did you try changing it...to the one that you want it to be?
 

sgt_jamez

Explorer
Joined
Jul 30, 2021
Messages
88
I tried changing it just now. Still does the same. Even tried creating a new user. Still the same result.
 

artlessknave

Wizard
Joined
Oct 29, 2016
Messages
1,506
but I think it may have been after joining the domain
wait. i just noticed that. you joined it to a domain? what kind of domain? an AD domain? does tazzy exist on the domain, with the same password *and privileges*?
because, afaik, if you "join a domain", the local users should no longer apply?
 

sgt_jamez

Explorer
Joined
Jul 30, 2021
Messages
88
It’s a Samba AD. And Tazzy is just a local user. This machine is my second Scale host. I have a similar user on host #1 (running the current nightly build) and the local user there has no problems using sudo even though it too is part of the domain.
 

artlessknave

Wizard
Joined
Oct 29, 2016
Messages
1,506
I have not used domains, so this is just speculation, but. I would speculate that you are correct, and that joining the domain changed your user authentication somehow, and that you need to do one of:
  1. remove the domain
  2. configure the domain correctly
  3. use su.
 
Top