HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by antisceptic | Hacker News Reader
Full thread
antisceptic
·
sudo -u fred -i # to become fred
View on HN
arminiusreturns
·
sudo -u $user -c '$commandtoexechere" to just run something as the user and drop you back to your own shell.
Reply on news.ycombinator.com