Skip to content
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

Sudo doesn't work when -u flag is used #1844

Closed
GameKyuubi opened this issue Apr 1, 2017 · 1 comment
Closed

Sudo doesn't work when -u flag is used #1844

GameKyuubi opened this issue Apr 1, 2017 · 1 comment

Comments

@GameKyuubi
Copy link

GameKyuubi commented Apr 1, 2017

#962 (comment)

Recreating issue because the other one was closed but the problem still exists (or has come back).

In Bash on Ubuntu on Windows for Windows 10 Insider Preview build 15063, performing sudo -u user ls produces:

sudo: setresuid() [1000, 1000, 1000] -> [-1, 0, -1]: Operation not permitted
sudo: unable to set runas group vector: Operation not permitted
sudo: PERM_ROOT: setresuid(0, -1, 0): Operation not permitted
user is not in the sudoers file.  This incident will be reported.

This significantly impedes dev work because scripts use this rather frequently, this is also a big issue because sudo is an integral part of the Linux system, it absolutely needs to work flawlessly.

@benhillis
Copy link
Member

I'll just reopen the old issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants