mirror of https://github.com/CISOfy/lynis.git
[AUTH-9234] reversed username and uid
This commit is contained in:
parent
43d3088a04
commit
e4cc0b1b9b
|
@ -310,7 +310,7 @@
|
|||
if [ ! -z "${FIND_USERS}" ]; then
|
||||
for FUSERNAME in ${FIND_USERS}; do
|
||||
FDETAILS=$(dscacheutil -q user -a name ${FUSERNAME} | ${GREPBINARY} "^uid: " | ${AWKBINARY} '{print $2}')
|
||||
FIND="${FDETAILS},${FUSERNAME} ${FIND}"
|
||||
FIND="${FUSERNAME},${FDETAILS} ${FIND}"
|
||||
done
|
||||
else
|
||||
FIND=""
|
||||
|
|
Loading…
Reference in New Issue