[Bash-completion-devel] Bug#675299: Bug#675299 bash-completion: sudo -u <tab> should complete usernames

Zachary Harris zacharyharris at hotmail.com
Sat Feb 28 07:50:57 UTC 2015


Perhaps this feature request has been resolved since the time it was
submitted?

For me, "sudo -u <tab>" does do username completion.

Moreover, "sudo -u user <tab>" does do command completion, including
commands in (/usr)/sbin which are not included in the bash-completion
PATH for my normal (non-privileged) user.

-- System Information:
Debian Release: 7.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-0.bpo.4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash  4.2+dfsg-0.1+deb7u3
ii  dpkg  1.16.15

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information



More information about the Bash-completion-devel mailing list