summaryrefslogtreecommitdiffstats
path: root/src/tests/cwrap/passwd
Commit message (Collapse)AuthorAgeFilesLines
* UTIL: Add a function to convert id_t from a number or a nameJakub Hrozek2014-10-221-1/+2
| | | | | | | | | | | | We need a custom function that would convert a numeric or string input into uid_t. The function will be used to drop privileges in servers and also in the PAC and IFP responders. Includes a unit test to test all code that changed as well as a fix for a misnamed attribute in the csv_to_uid_list function synopsis. Reviewed-by: Pavel Reichl <preichl@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
* TESTS: Add a test to change user IDsJakub Hrozek2014-10-101-0/+1
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>