logoalt Hacker News

consptoday at 8:44 AM1 replyview on HN

sudo useradd -m [username] ?

su [username] ?

Or am I understanding your idea about switching context wrong?


Replies

indigo945today at 9:38 AM

This doesn't really when the CLI tool needs to access any data in your /home. There isn't a straightforward way using standard POSIX tools to share a directory with another user. (Of course it's possible, but it's not easy.)

show 3 replies