Odd problem. I'm trying to script user creation and expect is flat out not working with the su command.
I'm not hard coding the root pw, first of all. I have it set to prompt me. But it never even gets that far. The instant the su is sent, it says "Sorry" and then errors out. The log on the remote server says:
So I tried it manually from the cli, issuing:
which gives the exact same error.
--
Andy
I'm not hard coding the root pw, first of all. I have it set to prompt me. But it never even gets that far. The instant the su is sent, it says "Sorry" and then errors out. The log on the remote server says:
Code:
Apr 1 15:41:13 bsd su: in prompt_echo_off(): tcgetattr(): Operation not supported
Apr 1 15:41:13 bsd su: BAD SU aharriso to root on tty
So I tried it manually from the cli, issuing:
Code:
ssh server /bin/sh
which gives the exact same error.
--
Andy