On Friday, 14 June 2024 01:45:16 ACST cagsm wrote:
On Thu, Jun 13, 2024 at 5:51 PM Rodney Baker
<rodney.baker@outlook.com.au> wrote:
cockpit on 15.6
Problem becoming administrator Sudo: unable to run /nonexistent/libexec/cockpit-askpass: No such file or directory sudo: no password was provided sudo: a password is required
Yes, running cockpit successfully on multiple Debian servers, physical and virtual, at home and at work. None on openSUSE currently, but it works the same way. Do you have sudo installed? Some distros now don't install it by default. (zypper se sudo). If not, install it, and make sure your user is listed in the sudoers file. yes sudo package is there and normal and working. its a normal leap installation coming from 15.4 or 15.5 etc. nothing fancy. trying cockpit for the first time on 15.6.
On Debian, the default is to require the users password for sudo access, while on Suse I think it requires the root password (but this is configurable - man sudo). i tried to first make sense if i log in as root into that webserver or as a normal user but somehow root didnt manage to log in or i was missing out on the direct root password. maybe i will try that over again.
after that i reverted to test with my simple kde desktop user name. that login succeeded then. then i noticed that non admin state of the cockpit GUI.
zypper se sudo or zypper se cockpit
doesnt show that kind of sudo and exec and askpass etc as results over here. ty
Not sure what's going on then. Did you check if your user is allowed to use sudo? If /etc/ sudoers is not configured to allow unprivileged users to use sudo, you'll get an error. When you try, for example, sudo cat /var/log/mail, do you get prompted for the root password? Does it complete successfully? -- ============================================================================== ============================ Rodney Baker rodney.baker@outlook.com.au ============================================================================== ============================