Fixed sudo so it will only work for privileged users.