summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/chef/provider/user/solaris.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/provider/user/solaris.rb b/lib/chef/provider/user/solaris.rb
index efcd27d733..87a2ee953f 100644
--- a/lib/chef/provider/user/solaris.rb
+++ b/lib/chef/provider/user/solaris.rb
@@ -130,7 +130,8 @@ class Chef
write_shadow_file
end
- # XXX: can we not use the passwd utility?
+ # XXX: this was straight copypasta'd back in 2013 and I don't think we've ever evaluted using
+ # a pipe to passwd(1) or evaluating modern ruby-shadow. See https://github.com/chef/chef/pull/721
def write_shadow_file
buffer = Tempfile.new("shadow", "/etc")
::File.open(PASSWORD_FILE) do |shadow_file|