Skip to content

Commit 143842e

Browse files
authored
[tacacs] User with priv_lvl 0 should not be in docker group (#1626)
1 parent 1df7c9a commit 143842e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tacacs/nss/0001-Modify-user-map-profile.patch

+2-2
Original file line numberDiff line numberDiff line change
@@ -564,9 +564,9 @@ index 79e62b9..ecfa0b0 100644
564564
+ useradd_info_t *user;
565565
+
566566
+ user = &useradd_grp_list[MIN_TACACS_USER_PRIV];
567-
+ user->gid = 999;
567+
+ user->gid = 100;
568568
+ user->info = strdup("remote_user");
569-
+ user->secondary_grp = strdup("docker");
569+
+ user->secondary_grp = strdup("users");
570570
+ user->shell = strdup("/bin/bash");
571571
+
572572
+ user = &useradd_grp_list[MAX_TACACS_USER_PRIV];

0 commit comments

Comments
 (0)