Re: two questions about su(1)

From: John Levine <johnl_at_iecc.com>
Date: Thu, 26 Jun 2025 17:56:08 UTC
It appears that Dag-Erling Smørgrav <des@FreeBSD.org> said:
>root user's shell”.  I suspect you actually meant “switch credentials to
>the root user, then run zsh”, which is written `su root -c zsh` (here
>the `-c zsh` part is not interpreted by su, but added to the shell's
>command line).

To pile on here, don't most people now use sudo for this kind of thing?

R's,
John