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

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

.update_gid(user, gid) ⇒ Object



27
28
29
# File 'lib/specinfra/command/darwin/base/user.rb', line 27

def update_gid(user, gid)
  "dscl . -create /Users/#{escape(user)} PrimaryGroupID #{escape(gid)}"
end