[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sudo password visible through ssh command line



On Thu, Jul 10, 2008 at 01:04:31PM +0200, Javier Barroso wrote:
> In sid with key passwordless auth :
> 
> ssh user@server "sudo ls"
> password: password
> 
> And password is shown you
> 
> Any tip to avoid this ?

Do it as two separate commands?

ssh user@server
sudo ls
password: <should not appear>
exit

> Where should be reported this bug if it could be consider as such (note I
> don't know if there are more programs with this problem)?

I would agree that this is a bug, but I'm not sure that it would be at
all straightforward to fix.

-- 
News aggregation meets world domination.  Can you see the fnews?
http://seethefnews.com/


Reply to: