[tacacs] User with priv_lvl 0 should not be in docker group (#1626)

This commit is contained in:
Taoyu Li 2018-04-20 18:30:07 -07:00 committed by GitHub
parent 1df7c9a993
commit 143842ee8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -564,9 +564,9 @@ index 79e62b9..ecfa0b0 100644
+ useradd_info_t *user;
+
+ user = &useradd_grp_list[MIN_TACACS_USER_PRIV];
+ user->gid = 999;
+ user->gid = 100;
+ user->info = strdup("remote_user");
+ user->secondary_grp = strdup("docker");
+ user->secondary_grp = strdup("users");
+ user->shell = strdup("/bin/bash");
+
+ user = &useradd_grp_list[MAX_TACACS_USER_PRIV];