def get_uid(username)
      Etc.passwd { |u| return u.uid if u.name == username }
    end
def get_uid(username)
      Etc.passwd { |u| return u.uid if u.name == username }
    end
Returns the UID for the username on the host.