diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2014-04-15 21:13:42 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2016-01-14 08:04:49 +0100 |
commit | 21b0d29e381518f3611ffc39c0a0b3dd30b2309e (patch) | |
tree | 96abf1736258dffb2df94a64419bda49ecf9d261 /tests/etc | |
parent | 6596d27e1903849d077b31b8b1ba89bad9758707 (diff) | |
download | libssh-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.in | 5 | ||||
-rw-r--r-- | tests/etc/hosts.in | 2 | ||||
-rw-r--r-- | tests/etc/passwd.in | 5 | ||||
-rw-r--r-- | tests/etc/shadow.in | 2 |
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::::: |