From 843052dd23e43eab1a64d40615ac582bb00ae065 Mon Sep 17 00:00:00 2001 From: Sahana Prasad Date: Wed, 18 Dec 2019 21:57:32 +0100 Subject: [PATCH] etc: Adds a new user Charlie Signed-off-by: Sahana Prasad Reviewed-by: Jakub Jelen Reviewed-by: Andreas Schneider --- tests/etc/pam_matrix_passdb.in | 1 + tests/etc/passwd.in | 1 + tests/etc/shadow.in | 1 + tests/torture.h | 1 + 4 files changed, 4 insertions(+) diff --git a/tests/etc/pam_matrix_passdb.in b/tests/etc/pam_matrix_passdb.in index 8891fcfe..c0aa54e5 100644 --- a/tests/etc/pam_matrix_passdb.in +++ b/tests/etc/pam_matrix_passdb.in @@ -1,2 +1,3 @@ bob:secret:sshd alice:secret:sshd +charlie:secret:sshd diff --git a/tests/etc/passwd.in b/tests/etc/passwd.in index a3ddc979..85e20c6d 100644 --- a/tests/etc/passwd.in +++ b/tests/etc/passwd.in @@ -1,5 +1,6 @@ bob:x:5000:9000:bob gecos:@HOMEDIR@/bob:/bin/sh alice:x:5001:9000:alice gecos:@HOMEDIR@/alice:/bin/sh +charlie:x:5002:9000:charlie gecos:@HOMEDIR@/charlie:/bin/sh sshd:x:65530:65531:sshd:@HOMEDIR@:/sbin/nologin nobody:x:65533:65534:nobody gecos:@HOMEDIR@:/bin/false root:x:65534:65532:root gecos:@HOMEDIR@:/bin/false diff --git a/tests/etc/shadow.in b/tests/etc/shadow.in index 5c0e3d86..a0b2b9d6 100644 --- a/tests/etc/shadow.in +++ b/tests/etc/shadow.in @@ -1,2 +1,3 @@ alice:$6$0jWkA8VP$MvBUvtGy38jWCZ5KtqnZEKQWXvvImDkDhDQII1kTqtAp3/xH31b71c.AjGkBFle.2QwCJQH7OzB/NXiMprusr/::0::::: bob:$6$0jWkA8VP$MvBUvtGy38jWCZ5KtqnZEKQWXvvImDkDhDQII1kTqtAp3/xH31b71c.AjGkBFle.2QwCJQH7OzB/NXiMprusr/::0::::: +charlie:$6$0jWkA8VP$MvBUvtGy38jWCZ5KtqnZEKQWXvvImDkDhDQII1kTqtAp3/xH31b71c.AjGkBFle.2QwCJQH7OzB/NXiMprusr/::0::::: diff --git a/tests/torture.h b/tests/torture.h index 1cd52b20..9455e06d 100644 --- a/tests/torture.h +++ b/tests/torture.h @@ -53,6 +53,7 @@ #define TORTURE_SSH_USER_BOB_PASSWORD "secret" #define TORTURE_SSH_USER_ALICE "alice" +#define TORTURE_SSH_USER_CHARLIE "charlie" /* Used by main to communicate with parse_opt. */ struct argument_s {