Improve reading of UNPRIVILEGED_USER, and move prompt next to the use of the variable.