Hi Brent,

Thanks for your suggestion, but I am not looking for a bash/awk command. I was looking for an OVAL definition, and with the help of Gabe I was able to do it.

--
Rodolfo Martínez

On Wed, Jun 8, 2016 at 3:18 PM, Brent Kimberley <Brent.Kimberley@durham.ca> wrote:

awk -F : '$3 >= 500 {print $1}' /etc/passwd

 

Works as well ;-)

 

From: Brent Kimberley

From: Rodolfo Martínez [mailto:rmtzcx@gmail.com]

My question is much simpler now:

How can get all usernames from /etc/passwd that have UID greater or equal to 500 without using password_object? I have been trying to do this for many days now without any luck.

Thanks for your time


 

THIS MESSAGE IS FOR THE USE OF THE INTENDED RECIPIENT(S) ONLY AND MAY CONTAIN INFORMATION THAT IS PRIVILEGED, PROPRIETARY, CONFIDENTIAL, AND/OR EXEMPT FROM DISCLOSURE UNDER ANY RELEVANT PRIVACY LEGISLATION. No rights to any privilege have been waived. If you are not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying, conversion to hard copy, taking of action in reliance on or other use of this communication is strictly prohibited. If you are not the intended recipient and have received this message in error, please notify me by return e-mail and delete or destroy all copies of this message.

--
SCAP Security Guide mailing list
scap-security-guide@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/scap-security-guide@lists.fedorahosted.org
https://github.com/OpenSCAP/scap-security-guide/