Can anyone tell me why this does not work?
test:~ test$ echo 123 | su root su: Sorry
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
Although the man page for su doesn't state it explicitly, the required password must always be typed manually, it cannot be piped into su.
It has something to do with security ;-)