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

better error handling in user/group creation #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

better error handling in user/group creation #10

wants to merge 1 commit into from

Conversation

jgoodall
Copy link

the user account creation was failing on centos 5.8, due to, first, the useradd binary not being in my path and then to useradd not having the command option --user-group. i tried to make the function more robust and at least print an error that the account and group need to be manually created if the groupadd and useradd binaries cannot be found.

@alanpearce alanpearce mentioned this pull request Apr 13, 2013
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.

1 participant