| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xl command autocompletion: domain names
 Matthew Daley writes ("xl command autocompletion: domain names"):
> I'm looking at implementing bash command autocompletion for xl (at
> least for Debian to begin with as that's what I'm familiar with, and
> then looking at getting it into other distros). One component that
> needs to be created for this is a function that enumerates all the
> current running domains by name.
> 
> Obviously I can't use `xl list` because that requires escalated
> privileges. One gross solution would be to make a small setuid wrapper
> that just reads the domain names out of xenstore, but I think there is
> a better solution:
But nothing else you can do with xl will work without those escalated
privileges.  So I don't understand why you can't just punt if the user
doesn't have the right privilege.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |