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

[dev.icinga.com #9119] Make the user account configurable for the Windows service #2943

Closed
icinga-migration opened this issue Apr 20, 2015 · 8 comments
Labels
enhancement New feature or request
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/9119

Created by lbetz on 2015-04-20 12:27:35 +00:00

Assignee: jflach
Status: Resolved (closed on 2016-10-25 14:15:06 +00:00)
Target Version: 2.6.0
Last Update: 2016-10-25 14:15:06 +00:00 (in Redmine)

Backport?: Not yet backported
Include in Changelog: 1

Calling nscp (NSClient**) commands thru icinga2 agent running under 'network' permission on Windows effects an undesirable Output like:

something odd happend....

Running the agent under 'local system' will fix it. Would be nice to have a checkbox in the node wizard to choose the permission.

Changesets

2016-02-26 12:42:36 +00:00 by jflach ef18695

Add option to choose icinga2s user

refs #9119

2016-09-30 11:34:34 +00:00 by jflach ce8b5c7

Add Option to change Icinga2s Service user

Adds the --scm-user option and a check box and text field in the Agent

refs #9119

2016-09-30 11:59:51 +00:00 by jflach 24b0431

Use correct File for GetIcingaUser

Also remove debug sleep

refs #9119

2016-10-05 13:05:28 +00:00 by jflach ca6abdf

Add Option to change Icinga2s Service user

Adds the --scm-user option and a check box and text field in the Agent

refs #9119

2016-10-05 13:05:28 +00:00 by jflach 0dcda6c

Use correct File for GetIcingaUser

Also remove debug sleep

refs #9119

2016-10-25 14:08:03 +00:00 by jflach 4b61aee

Add option to choose icinga2s user

Adds the --scm-user option and a check box and text field in the Agent

fixes #9119

2016-10-26 08:30:12 +00:00 by jflach f1a8a74

Update design of Agent Wizard

refs #9119

2016-11-24 16:17:33 +00:00 by mfriedrich 841412c

Remove unused patch file

refs #9119

2016-12-08 13:59:29 +00:00 by mfriedrich 96cd4dc

Windows wizard: Rename user setting

refs #9119
@icinga-migration
Copy link
Author

Updated by gbeutner on 2015-04-22 19:52:37 +00:00

  • Status changed from New to Assigned
  • Assigned to set to jflach
  • Target Version set to 2.4.0

Ideally the Windows setup wizard would have three options:

[x] NetworkService (default, i.e. what we're using right now)
[ ] LocalSystem
[ ] Other account:

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-09-28 12:56:05 +00:00

  • Target Version deleted 2.4.0

@icinga-migration
Copy link
Author

Updated by jflach on 2016-03-02 10:07:09 +00:00

  • Status changed from Assigned to Feedback
  • Assigned to changed from jflach to mfriedrich

Please review

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-04-13 10:25:10 +00:00

  • Category changed from Cluster to Installation
  • Status changed from Feedback to Assigned
  • Assigned to changed from mfriedrich to jflach
  • Target Version set to 2.5.0

This won't work because icinga2-installer.exe (which is invoked by msiexec during upgrades) re-installs the Icinga 2 service with the default user (i.e. NetworkService). When a user chooses to run Icinga 2 with another user we're going to have to save that username somewhere so that icinga2-installer.exe can re-install the service with the right user.

@icinga-migration
Copy link
Author

Updated by jflach on 2016-04-18 07:12:58 +00:00

Should we add this to the incinga2.conf?

The downside would be that someone might change it causing unexpected behaviour.
We could safe it to the registry, too.

@icinga-migration
Copy link
Author

Updated by gbeutner on 2016-04-21 10:25:51 +00:00

  • Subject changed from Permissions for running Agents on Windows to Make the user account configurable for the Windows service

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2016-06-16 08:40:15 +00:00

  • Target Version changed from 2.5.0 to 2.6.0

@icinga-migration
Copy link
Author

Updated by jflach on 2016-10-25 14:15:06 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset 4b61aee.

@icinga-migration icinga-migration added enhancement New feature or request Installation labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.6.0 milestone Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant