MacOS: perform terminal admin tasks from a user account with login or su (2002) Posted on March 14, 2016 by jgordon Link. I periodically have to look this up. I do ‘su’ first, then usual sudo command. I rarely run as admin.