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

Nagios user with interactive shell #1166

Open
MaKeG0 opened this issue May 17, 2024 · 1 comment
Open

Nagios user with interactive shell #1166

MaKeG0 opened this issue May 17, 2024 · 1 comment

Comments

@MaKeG0
Copy link

MaKeG0 commented May 17, 2024

Deploying NCPA on Ubuntu sets the nagios user with an interactive shell by default. Manually changing it to nologin didn't disrupt Nagios functionality. Is this behavior intentional or should it be corrected?

Suggestion: Consider adding the command usermod -s $(which nologin) nagios to build/linux/setup.sh to automatically set the shell to nologin.

@MaKeG0
Copy link
Author

MaKeG0 commented May 17, 2024

Sorry, tested the $(which nologin) on SUSE and failed. I’m sure there is a way to make it compatible with all needed distros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants