aboutsummaryrefslogtreecommitdiff
path: root/tests/etc
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2014-04-15 21:13:42 +0200
committerAndreas Schneider <asn@cryptomilk.org>2016-01-14 08:04:49 +0100
commit21b0d29e381518f3611ffc39c0a0b3dd30b2309e (patch)
tree96abf1736258dffb2df94a64419bda49ecf9d261 /tests/etc
parent6596d27e1903849d077b31b8b1ba89bad9758707 (diff)
downloadlibssh-21b0d29e381518f3611ffc39c0a0b3dd30b2309e.tar.gz
libssh-21b0d29e381518f3611ffc39c0a0b3dd30b2309e.tar.xz
libssh-21b0d29e381518f3611ffc39c0a0b3dd30b2309e.zip
cmake: Configure nss_wrapper and uid_wrapper
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/etc')
-rw-r--r--tests/etc/group.in5
-rw-r--r--tests/etc/hosts.in2
-rw-r--r--tests/etc/passwd.in5
-rw-r--r--tests/etc/shadow.in2
4 files changed, 14 insertions, 0 deletions
diff --git a/tests/etc/group.in b/tests/etc/group.in
new file mode 100644
index 00000000..b6e85eff
--- /dev/null
+++ b/tests/etc/group.in
@@ -0,0 +1,5 @@
+users:x:1000:
+sshd:x:65531:
+nobody:x:65533:
+nogroup:x:65534:nobody
+root:x:65532:
diff --git a/tests/etc/hosts.in b/tests/etc/hosts.in
new file mode 100644
index 00000000..2ab69799
--- /dev/null
+++ b/tests/etc/hosts.in
@@ -0,0 +1,2 @@
+127.0.0.10 server.libssh.site
+127.0.0.21 client.libssh.site
diff --git a/tests/etc/passwd.in b/tests/etc/passwd.in
new file mode 100644
index 00000000..5844c1d1
--- /dev/null
+++ b/tests/etc/passwd.in
@@ -0,0 +1,5 @@
+bob:x:1000:1000:bob gecos:@HOMEDIR@/bob:/bin/false
+alice:x:1001:1000:alice gecos:@HOMEDIR@/alice:/bin/bash
+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
new file mode 100644
index 00000000..5c0e3d86
--- /dev/null
+++ b/tests/etc/shadow.in
@@ -0,0 +1,2 @@
+alice:$6$0jWkA8VP$MvBUvtGy38jWCZ5KtqnZEKQWXvvImDkDhDQII1kTqtAp3/xH31b71c.AjGkBFle.2QwCJQH7OzB/NXiMprusr/::0:::::
+bob:$6$0jWkA8VP$MvBUvtGy38jWCZ5KtqnZEKQWXvvImDkDhDQII1kTqtAp3/xH31b71c.AjGkBFle.2QwCJQH7OzB/NXiMprusr/::0:::::