Whamcloud - gitweb
LU-7859 tests: Use getent instead of /etc/passwd 46/18846/4
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Wed, 9 Mar 2016 22:14:15 +0000 (17:14 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 2 May 2016 23:59:02 +0000 (23:59 +0000)
commit12947f6e96220896cace1bdcef2818ed1d04ace9
tree263abac172e6b9d2a2aaad4a2f0a59999824d5ce
parentc341ac9083c1764675c92363e1dd8bcd3223788a
LU-7859 tests: Use getent instead of /etc/passwd

Use getent passwd instead of directly reading form /etc/passwd
to prevent missing user checks if users come from ldap or another
auth source that isn't /etc/passwd.

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: Ia2831c777c7c3f8bae5a634fa897744954d14c1e
Reviewed-on: http://review.whamcloud.com/18846
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/conf-sanity.sh
lustre/tests/sanity-sec.sh