Re: two questions about su(1)
- Reply: Paul Vixie : "Re: two questions about su(1)"
- In reply to: Dag-Erling_Smørgrav : "Re: two questions about su(1)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
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