Hi all,
I'm writing a script, and one thing it does is the following:
ssh someuser@somehost /usr/local/sbin/smbldap-usermod -a -P some.samba.user
If I left off the -P all works fine. With the -P it does not prompt me for
the password on my screen, but it seems to have done it on the host I am
ssh'ing to. I straced the command on that host and I am stuck at a read()
call. However, I can't see the password prompt or type in the password
either.
What I would really like to do anyway is pass the password as a parameter,
since I will be getting the password from input to the script. But I don't
see it as one of the valid options for smbldap-usermod. Is anyone doing a
similar thing and if so, can you offer me wisdom?
Thanks,
Misty