Terminal handling broken?
Martin Zielinski
mz at seh.de
Tue May 9 08:48:24 GMT 2006
Frank Meerkoetter wrote:
> Hi,
>
> i'm running Samba on a small arm-based system. My problem is
> that the terminal handling seems to be broken for the samba utilities.
>
> # /mnt/data/smbpasswd -a media
> New SMB password:Retype new SMB password:Added user media.
>
> Smbpasswd doesn't prompt me for a password.
> An strace looks like this:
>
[...]
> ioctl(18, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 opost isig -icanon -echo ...})
> = 0
> ioctl(18, SNDCTL_TMR_CONTINUE or TCSETSF, {B115200 opost -isig -icanon -echo
> ...}) = 0
> write(18, "New SMB password:", 17New SMB password:) = 17
> read(18, "", 1) = 0
> ioctl(18, SNDCTL_TMR_CONTINUE or TCSETSF, {B115200 opost isig -icanon -echo
> ...}) = 0
> close(18) = 0
[...]
> TIA,
> Frank
>
>
Looks like your serial interface is in non-blocking mode.
What's your kernel version and your getty commandline (in inittab)?
What does stty say?
~ Martin
--
Martin Zielinski mz at seh.de
Software Development
SEH Computertechnik GmbH www.seh.de
More information about the samba-technical
mailing list