exit if nonroot isn't specified or set by logname