title: Mac 10.10.5 throwing error sudo: gpasswd: command not found
body: <p>I have requirement to add jenkins user on mac mini to docker group and trying below</p>
  <pre><code>which sudo
  /usr/bin/sudo
  </code></pre>
  <p>Not working</p>
  <pre><code>sudo gpasswd -a jenkins docker
  </code></pre>
  <p>Not working</p>
  <pre><code>/usr/bin/sudo gpasswd -a jenkins docker
  sudo: gpasswd: command not found
  </code></pre>
  <p>And at <code>.bash_profile</code> entries</p>
  <pre><code> export PATH=&quot;$PATH:/usr/local/bin/&quot;
   export PATH=&quot;/usr/local/git/bin:/sw/bin/:/usr/local/bin:/usr/local/:/usr/local/sbin:/usr/local/mysql/bin:$PATH&quot;
   export PATH=/usr/bin:/usr/sbin:/bin:/usr/local/bin:/sbin:/opt/x11/bin:$PATH
  </code></pre>
  <p>Current logged user is administrator on this Mac. I'm not sure what may be going wrong here ?</p>
  <p>Thanks,
  Vikram</p>