Skip to content

better error handling in user/group creation - #10

Open
jgoodall wants to merge 1 commit into
hbons:masterfrom
jgoodall:master
Open

better error handling in user/group creation#10
jgoodall wants to merge 1 commit into
hbons:masterfrom
jgoodall:master

Conversation

@jgoodall

Copy link
Copy Markdown

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.

@alinnow alinnow 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