[Samba] net join echoes root password

Heinrich Rebehn rebehn at ant.uni-bremen.de
Wed Aug 3 07:30:54 GMT 2005


Robert Vangel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Heinrich Rebehn wrote:
> 
>>Hi list,
>>
>># net join
>>asks for the root password (seems to be new).
>>This is not a problem, but when i do:
>># ssh root at remote_host net join mydomain
>>the root password is echoed on the terminal.
>>Is this expected behaviour? (I hope not).
> 
> 
> This is because you aren't allocating a terminal in your ssh session.
> 
> Add `-t' after ssh to force allocation of one, and it will work as-per
> normal.
> 
Thanks, this works. There's still things to learn..

Heinrich


More information about the samba mailing list