[sudo-users] sudo shows password!

bw bwakkie at gmail.com
Mon Oct 8 05:14:05 EDT 2007

Hello I have a strange problem in ubuntu where I can see a password.


In short:
laptop:~$ sudo bash &
[1] 8468
-laptop:~$ [sudo] password for bbwa:

[1]+  Stopped                 sudo bash
bash: yttrr: command not found

[1]+  Stopped                 sudo bash
laptop:~$ fg
sudo bash
[sudo] password for bbwa:

Ian from the ubuntu thread suggested the following:
" ...The solution is that sudo ought to make a non-blocking read of its
terminal _before_ printing the prompt. Then, sudo would get SIGTSTP
straight away..."

Any tips in resolving this? Is it a bug?


More information about the sudo-users mailing list