code: def get_specific_user():
      '''
      Get a user name for publishing. If you find the user is "root" attempt to be
      more specific
      '''
      user = get_user()
      if salt.utils.platform.is_windows():
          if _win_current_user_is_admin():
              return 'sudo_{0}'.format(user)
      else:
          env_vars = ('SUDO_USER',)
          if user == 'root':
              for evar in env_vars:
                  if evar in os.environ:
                      return 'sudo_{0}'.format(os.environ[evar])
      return usef get_specific_user():
      '''
      Get a user name for publishing. If you find the user is "root" attempt to be
      more specific
      '''
      user = get_user()
      if salt.utils.platform.is_windows():
          if _win_current_user_is_admin():
              return 'sudo_{0}'.format(user)
      else:
          env_vars = ('SUDO_USER',)
          if user == 'root':
              for evar in env_vars:
                  if evar in os.environ:
                      return 'sudo_{0}'.format(os.environ[evar])
      return user
docs: Get a user name for publishing. If you find the user is "root" attempt to be
      more specific