goss-org / goss

Quick and Easy server testing/validation
https://goss.rocks
Apache License 2.0
5.6k stars 472 forks source link

User is system account #685

Closed retr0h closed 3 years ago

retr0h commented 3 years ago

Was there a way to check if a user is a system account? User account's UID are blow UID_MIN. I didn't see a way to do this with the built in user validator. Maybe there is another way?

# grep UID /etc/login.defs
UID_MIN                  1000
UID_MAX                 60000
#SYS_UID_MIN              100
#SYS_UID_MAX              999

Thanks for Goss, I use it all the time. Currently, using it to test my terraform local configuration management provider. 🤘🏼

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

retr0h commented 3 years ago

bummer :)

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.