From fd302c63635c07cf47c66e20229553b98837b9e2 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Wed, 23 Sep 2020 13:19:37 -0400 Subject: [PATCH] make autocomplete with sudo work --- setup/so-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-functions b/setup/so-functions index c771f2851..44cca3a82 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -1650,7 +1650,7 @@ set_main_ip() { # Add /usr/sbin to everyone's path set_path() { - echo "PATH=\$PATH:/usr/sbin" > /etc/profile.d/securityonion.sh + echo "complete -cf sudo" > /etc/profile.d/securityonion.sh } setup_salt_master_dirs() {