Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
antisceptic
· 3y ago · 0 comments
sudo -u fred -i # to become fred
Comments
[–]
arminiusreturns
3y ago
sudo -u $user -c '$commandtoexechere" to just run something as the user and drop you back to your own shell.