Hi,

I'm going to "Won't Fix" this at this time, sorry.

The reason for this is that while it's not revealing any information that you
can't already get, so isn't a security problem in that sense, it does require
more code running as root than before.

bash itself provides the paths, and it runs as your user, so it can't complete
the paths, as only root can see them. In order to fix this bash itself would 
have
to sudo to root, which would mean that you were using a root shell permanently,
which is not a good idea. The other solution would be to have some helper to
complete paths, and run it under sudo, with sudo in a mode that exited silently
when you weren't authenticated. That would be inefficient, and a whole lot of
work to add all of that.

If you feel strongly about this then and would still like to see it happen then 
I suggest
you discuss it with the bash developers, who are better placed to make the 
change.

Thanks,

James


** Changed in: bash (Ubuntu)
       Status: Confirmed => Won't Fix

-- 
sudo should autocomplete all file paths if already authenticated
https://bugs.launchpad.net/bugs/346710
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to