Date: Wed, 25 Jun 2025 20:26:04 +0000 From: Paul Vixie <paul@redbarn.org> To: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: two questions about su(1) Message-ID: <2810770.4sosBPzcNG@localhost>
index | next in thread | raw e-mail
first, why is the -c check not applied until after a password is collected? > ➜ ~ su -c zsh > Password: > su: only root may use -c second, what exactly do we think this -c restriction is buying us? > ➜ ~ su > Password: > root@util:/home/vixie # exec zsh > util# -- Paul Vixiehome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2810770.4sosBPzcNG>
