Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
I.e. allow block-level or global modification of which user
Right now, users who always need to run sudo as another user (e.g. to run commands "as" a user which does not have SSH login privileges, and which is not root, such as daemon user accounts) have no useful recourse.
Easiest solution is just a new env var that acts as a default if the kwarg is not given.