summaryrefslogtreecommitdiffstats
path: root/src/tests/cwrap/passwd
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-07-27 14:44:24 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-10 13:56:08 +0200
commit428db8a58c0c149d5efccc6d788f70916c1d34d7 (patch)
tree531147790cdabf2d81b56915bed7e3e29d878efe /src/tests/cwrap/passwd
parent40b2be4f4312470044cdef460b02b66003f5c85f (diff)
downloadsssd-428db8a58c0c149d5efccc6d788f70916c1d34d7.tar.gz
sssd-428db8a58c0c149d5efccc6d788f70916c1d34d7.tar.xz
sssd-428db8a58c0c149d5efccc6d788f70916c1d34d7.zip
TESTS: Add a test to change user IDs
Adds a unit test using the nss_wrapper and uid_wrapper libraries that exercises the ability to become another user. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/tests/cwrap/passwd')
-rw-r--r--src/tests/cwrap/passwd1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/cwrap/passwd b/src/tests/cwrap/passwd
new file mode 100644
index 000000000..aa0a97db5
--- /dev/null
+++ b/src/tests/cwrap/passwd
@@ -0,0 +1 @@
+sssd:x:123:123:sssd unprivileged user:/:/sbin/nologin