Git Product home page Git Product logo

autoconf-macros's People

Contributors

hedenface avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

box293

autoconf-macros's Issues

add_group_user needs an option to enable or disable the shell as part of the user creation

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.

Trouble following Usage instructions

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.