nagiosenterprises / autoconf-macros Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
Currently the add_group_user
script creates users with no shell using something like -s /usr/bin/false
or -r
.
When trying to use these scripts with Nagios Core, depending on the OS this will cause nagios to fail to start with the error ERROR: Could not create or update /usr/local/nagios/var/nagios.configtest
.
I experienced this in FreeBSD and also SUSE 11.x. It's interesting in SUSE as 11.x and 12.x both use the same command (useradd -r
) however 12.x is not affected by the issue.
Hence the request is that you can call the add_group_user
script with a 4th argument to request a user with a shell defined. If the argument is not present then it should default to the existing behaviour.
I tried following the usage instructions but the git subtree add
command fails.
troylea@office_itx_gentoo /tmp $ git init test
Initialized empty Git repository in /tmp/test/.git/
troylea@office_itx_gentoo /tmp $ cd test/
troylea@office_itx_gentoo /tmp/test $ git remote add autoconf-macros [email protected]:NagiosEnterprises/autoconf-macros
troylea@office_itx_gentoo /tmp/test $ ls -la
total 12
drwxr-xr-x 3 troylea troylea 4096 Feb 8 11:19 .
drwxrwxrwt 10 root root 4096 Feb 8 11:19 ..
drwxr-xr-x 6 troylea troylea 4096 Feb 8 11:20 .git
troylea@office_itx_gentoo /tmp/test $ git subtree add --prefix=macros/ autoconf-macros master
fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Working tree has modifications. Cannot add.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.