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

web user can't sudo git user #164

Open
ruigoncalves opened this issue Jul 13, 2012 · 1 comment
Open

web user can't sudo git user #164

ruigoncalves opened this issue Jul 13, 2012 · 1 comment

Comments

@ruigoncalves
Copy link

I'm trying to set up the redmine git hosting plugin but I'm struggling with some difficulties, mainly related with the different users.

When I access the plugin settings page, the required permission Git user is able to sudo to Web user? is marked as invalid. The error message which is being logged is the following one:
Error while testing sudo_git_to_web_user:
Testing if web user("root") can sudo to git user("git")

If I'm not misinterpreting, it seems that the plugin is assuming that the web user is root but I can't understand why.

@mkroehnert
Copy link

You have to check which user is running your Rails application.

The webuser is detected by a call to whoami.

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