ajenti: sudo: 1 incorrect password attempt
I install ajenti core (ajenti 2.1.15) on Ubuntu 14.04. And always get sudo: 1 incorrect password attempt
when try to elevate my credential to root.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 3
- Comments: 24
for people who come here to look for a solution: @lucasmontec :
sudo vim /etc/ajenti/config.yml
(or whatever text editor you prefer) add:restricted_user: yourusername
at the bottom of the file obviously save and exitsudo service ajenti restart
now elevate works on my Distributor ID: Ubuntu Description: Ubuntu 16.10 Release: 16.10 Codename: yakkety
Try editing /etc/ajenti/config.yml
There you should add a top-level option “restricted_user”, try setting it to a user who has sudo access
Quick question: I’ve got one restricted user, but how do I add multiple?
Cannot get it to work using this. Where should I put the config?
No resolution for this? Just installed on a fresh ubuntu 14.04 and am getting this. It keeps putting me back to the login screen now, and then adds on to the url. https://ipaddress:8000/view/login/sudo:administrator//view/dashboard
auth.log keeps showing :
`Aug 25 11:48:55 LinuxWeb sudo: pam_unix(sudo:auth): authentication failure; logname= uid=65534 euid=0 tty= ruser=nobody rhost= user=nobody
Aug 25 11:48:57 LinuxWeb sudo: pam_unix(sudo:auth): conversation failed
Aug 25 11:48:57 LinuxWeb sudo: pam_unix(sudo:auth): auth could not identify password for [nobody]
Aug 25 11:48:57 LinuxWeb sudo: nobody : user NOT in sudoers ; TTY=unknown ; PWD=/ ; USER=administrator ; COMMAND=/bin/sh -c sudo -k; sudo -S echo `