Skip to content

not auto complete username while use command su  #253

@Mrzyxing

Description

@Mrzyxing

login as user 'someone' via ssh and switch to root,then use command su to switch other account but not work.
It worked at centos 6.4 with version 1.3,but centos 7.1 and 7.4 with version 2.1 not work.

use case as follow:

ssh as user someone
sudo -i
su [tab]

more detail info as follow:

[airtickets@VMS78519 ~]$ cat /etc/system-release
CentOS Linux release 7.1.1503 (Core)
[airtickets@VMS78519 ~]$ yum list installed  | grep -i completion
bash-completion.noarch           1:2.1-6.el7                           @anaconda
[airtickets@VMS78519 ~]$ cat /etc/passwd | grep airtickets
airtickets:x:1005:1005::/home/airtickets:/bin/bash

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions