From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: Re: xl command autocompletion: domain names Date: Thu, 31 Oct 2013 15:22:07 +0000 Message-ID: <21106.30111.761581.911733@mariner.uk.xensource.com> References: <21102.35201.728312.130566@mariner.uk.xensource.com> <1383231830.25018.100.camel@dagon.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1383231830.25018.100.camel@dagon.hellion.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Matthew Daley , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: xl command autocompletion: domain names"): > On Tue, 2013-10-29 at 11:29 +1300, Matthew Daley wrote: > > The use case I have in mind is the user using sudo, where the bash > > completion script will run as the unprivileged shell user still. > > Is this not a common problem with completion vs. sudo? How is it > normally dealt with? I'm no expert on bash-completion, but I would have expected in this kind of case to solve it by either (a) saying DDTT or (b) using sudo in the completion rune too. Ian.