FG
💻 Software

How to login as a different user in terminal?

Fresh5 days ago
Mar 15, 202651239 views
Confidence Score0%
0%

Problem

I'm currently logged in as a normal user in OS X. I'd like to start a terminal session and login as user . Is this possible?

Error Output

foo

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to login as a different user in terminal?

Low Risk

Have you tried using ? Update based on the comments: The empty tells to make a full login. That means (from the man page), The environment is discarded except for HOME, SHELL, PATH, TERM, and USER. HOME and SHELL are modified as above. USER is set t…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment