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

fix: add nologin for cwagent user #10

Merged
merged 1 commit into from
Jun 26, 2020
Merged

fix: add nologin for cwagent user #10

merged 1 commit into from
Jun 26, 2020

Conversation

yimuniao
Copy link
Contributor

Issue #, if available:
It maybe a security concern for some users. So we want to make cwagent with nologin,

Description of changes:

nologin displays a message that an account is not available and exits non-zero. It is intended as a replacement shell field to deny login access to an account.
The command path of nologin is different by Linux distribution.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@haojhcwa haojhcwa merged commit 57c3fd8 into aws:master Jun 26, 2020
sethAmazon pushed a commit to sethAmazon/amazon-cloudwatch-agent that referenced this pull request Oct 27, 2022
* Change package cloudwatch to implement the OTEL metric exporter interface.
* The exporter name is awscloudwatch.
*Stub out methods to implement Telegraf output plugin interface just so the Telegraf framework does not die because TOML config does not list a valid exporter. This can be removed when the Telegraf framework is no longer needed.
* Add OTEL metric to AWS SDK metric datum conversion functionality. Only supports Gauge and Sum. Only supports some unit conversions.
* Updated JSON->TOML translation to remove everything inside [[outputs.cloudwatch]] since it is now just a stub.
* Updated JSON->YAML translation to configure the new exporter.
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

Successfully merging this pull request may close these issues.

None yet

2 participants