summaryrefslogtreecommitdiff
path: root/lib/chef/provider/user
Commit message (Collapse)AuthorAgeFilesLines
* Updates based on PR comments.Serdar Sutay2014-08-121-21/+37
|
* * Dscl user provider changes to support Mac 10.7, 10.8 & 10.9.Serdar Sutay2014-08-121-156/+528
| | | | | | * Make the dscl user provider password handling idempotent. * Refactor / modernize dscl user provider unit tests. * Functional tests for dscl user provider.
* Merge pull request #1616 from chr4/userdel-forceClaire McQuin2014-08-071-0/+1
|\ | | | | Add "force" attribute to resource/user, passing "-f" to userdel
| * Add "force" attribute to resource/user, passing "-f" to userdelChris Aumann2014-07-081-0/+1
| | | | | | | | This allows removal of logged in users.
* | aix: implement user lock/unlock and fix testskaustubh-d2014-07-311-0/+26
| |
* | aix: -m option option to usermod errors on aixkaustubh-d2014-07-311-0/+17
| |
* | aix: use password hashes, aix style from /etc/security/passwdkaustubh-d2014-07-311-1/+1
| |
* | aix: useradd doesnt support -r like other unix, so sytem account is created ↵kaustubh-d2014-07-311-0/+7
| | | | | | | | by adding to "system" group.
* | Added basic changes for aix user providersiddheshwar-more2014-07-311-0/+45
| |
* | fixing trailing blank lines as wellLamont Granquist2014-07-291-1/+0
| |
* | fixing all the extra blank linesLamont Granquist2014-07-291-1/+0
| | | | | | | | yes, i just used rubocop on the chef sourcecode...
* | add shell_out to base provider codeLamont Granquist2014-07-292-4/+0
|/
* Merge pull request #1423 from opscode/btm/CHEF-5247Claire McQuin2014-06-121-1/+1
|\ | | | | CHEF-5247: Fix Useradd#manage_user backdoor
| * check whether the variable is empty rather than an empty stringCam Cope2014-04-221-1/+1
| |
* | Only modify password when one has been specifiedAnand Suresh2014-05-231-1/+1
| | | | | | | | Obvious fix
* | Make it possible to include Chef::Provider / Chef::ResourceJohn Keiser2014-04-241-0/+2
|/ | | | without circular dependencies or missing deps
* CHEF-3582: Fix #check_lock under why-runBryan McLellan2013-11-061-0/+7
| | | | | | | | | We assume in whyrun mode that a non-existant user would be created before we attempt to lock it, so we return false from #check_lock when user does not exist and we are in why_run mode. Conflicts: chef/lib/chef/provider/user/useradd.rb
* CHEF-4482 : change user attribute comparison to string comparesGene Wood2013-10-041-1/+1
|
* Normalize whitespace on all filesSeth Vargo2013-09-263-46/+46
|
* Ensure usermod -d option comes before -m.danielsdeleo2013-06-211-1/+1
| | | | | - Fixes CHEF-4305 http://tickets.opscode.com/browse/CHEF-4305 - Fixes RHEL/CentOS 5 usermod bug uncovered by functional tests.
* Pass useradd commands as argv array instead of sh command.danielsdeleo2013-06-201-29/+30
| | | | | | | | | | | | | - Fixes CHEF-4204 - Useradd provider commands converted from single string to argv array. This bypasses use of bin/sh command interpretation, so there is no need to escape shell-significant characters (e.g., quotes, etc.). - Un-pending-ize useradd functional tests for arguments to useradd with single quote characters. - Update useradd unit tests to expect command as argv splatted arrays. - Extract useradd unit tests to a shared example group. - deduplicate test code between solaris and useradd unit tests using shared example group.
* [CHEF-4204] Convert useradd provider to shelloutdanielsdeleo2013-06-201-23/+26
| | | | | | | - Convert all run_command and popen4 calls to shell_out! - Update useradd tests - User::Solaris subclasses from Useradd, so update those tests, too. - Functional tests pass unmodified
* [CHEF-4204] fix ruby unused variable warningdanielsdeleo2013-06-201-1/+1
|
* keep perms however we find themLamont Granquist2013-04-181-0/+9
|
* slightly less horrible hackeryLamont Granquist2013-04-172-31/+39
|
* deal with files a little betterLamont Granquist2013-04-171-10/+5
|
* port SNSs solaris user providerLamont Granquist2013-04-172-17/+104
|
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-304-0/+669
| | | | The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!
* big refactor of the repo layout. move to a chef gem and a chef-server gem ↵Ezra Zygmuntowicz2008-10-081-88/+0
| | | | all with proper deps
* Adding the user class as a requirementAdam Jacob2008-10-061-0/+2
|
* Bug fixes for user providerAdam Jacob2008-10-051-13/+25
|
* Adding user providerAdam Jacob2008-10-051-0/+74