Method: Specinfra::Command::Darwin::Base::User.update_login_shell

Defined in:
lib/specinfra/command/darwin/base/user.rb

.update_login_shell(user, shell) ⇒ Object



19
20
21
# File 'lib/specinfra/command/darwin/base/user.rb', line 19

def (user, shell)
  "dscl . -create /Users/#{escape(user)} UserShell #{escape(shell)}"
end