-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error 205: The user does not have permission to use sudo, but user in the sudo group. #876
Comments
Does user |
Hi, I'm trying to use amnezia for very first time. Have the same issue. On my server I'm able to use sudo under amnezia user without password prompt
|
As far as i can see, this code expects the user to be in 'sudo' group. But there are several RHEL based distros in which sudo privileges are granted via 'wheel' group. |
I changed distro to Ubuntu and now i have amnezia client passing this sudo check |
Thank you for the information, it will be helpful for users. |
Yes |
No, the only option is to allow root login. |
The same issue.
sftp subsystem also enabled. AWS AMI |
OK, I think I've figured out how to fix it, but I haven't yet understood the cause of this behaviour. I'll find out later. In general, if you add the configuration for the I.e. I moved the line from
to And everything magically worked. I checked a couple of times putting the line back in. It stops working. Something that I don't understand, I wonder. Anyway, I'll have a look later to find out the cause. But it can be "fixed" the way I described above. |
Describe the bug
Error 205 (The user does not have permission to use sudo), but user in the sudo group.
To Reproduce
Steps to reproduce the behavior:
adduser amnezia
user -aG sudo amnezia
205
Devices:
Logs
All data is correct and the SSH connection is stable (As well as the work of sudo), please fix the bug due to the fact that many servers have ROOT disabled and if you enable it, security vulnerabilities will arise.
The text was updated successfully, but these errors were encountered: