[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.

See:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/130636

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

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

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


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?

thx,
-- 
^(B(astia{2}n)?)(\s)?(W(ak{2}ie)?)$



More information about the sudo-users mailing list