Thanks, I've committed a slightly simpler fix.  Since set_loginclass()
already has the struct passwd of the runas user, we can just check
that pw->pw_uid is 0.

 - todd

Reply via email to