diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-05-10 10:22:31 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-05-10 10:22:31 -0700 |
commit | dd25d0ebf38095cade2ec21cf7471930b8e81508 (patch) | |
tree | d686c61d3d36a0830e1d8b9802e42083ab94af51 | |
parent | 9b6f0ab4d80d17bfced33fb2ea034a2804189b3b (diff) | |
download | chef-dd25d0ebf38095cade2ec21cf7471930b8e81508.tar.gz |
better comment on /etc/shadow mangling
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/provider/user/solaris.rb | 3 |
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| |