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

idea: detect sudo user #22

Open
dominictarr opened this issue Jan 14, 2014 · 2 comments
Open

idea: detect sudo user #22

dominictarr opened this issue Jan 14, 2014 · 2 comments

Comments

@dominictarr
Copy link
Owner

If the user is running the app as sudo,
detect the sudo user, and use that users HOME directory instead of root.

This would be a breaking change, but I feel this is a sensible thing to do.

@mikermcneil
Copy link
Contributor

could we check both?

@dominictarr
Copy link
Owner Author

Well, in the unix tradition, you'd use put the root config in /etc or /var
and in really traditional unix you don't have sudo, but nowadays that is regarded as a holstering a loaded firearm without the safety off.

I'm gonna let this idea simmer a while, I'm very reluctant to change rc

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