use getent to get entry from shadow database
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
4432b476d0
commit
58718f735a
1 changed files with 1 additions and 1 deletions
|
@ -23,5 +23,5 @@
|
|||
|
||||
name=$__object_id
|
||||
|
||||
grep "^$name" /etc/shadow || true
|
||||
getent shadow "$name" || true
|
||||
|
||||
|
|
Loading…
Reference in a new issue