Method: Specinfra::Command::Darwin::Base::User.update_home_directory
- Defined in:
- lib/specinfra/command/darwin/base/user.rb
.update_home_directory(user, directory) ⇒ Object
15 16 17 |
# File 'lib/specinfra/command/darwin/base/user.rb', line 15 def update_home_directory(user, directory) "dscl . -create /Users/#{escape(user)} NFSHomeDirectory #{escape(directory)}" end |