use getent to get entry from shadow database

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2011-03-15 23:35:55 +01:00
parent 4432b476d0
commit 58718f735a

View file

@ -23,5 +23,5 @@
name=$__object_id
grep "^$name" /etc/shadow || true
getent shadow "$name" || true