check_sys/audit/system/plugins/localaccount.py
2023-09-14 16:30:48 +02:00

16 lines
341 B
Python

#!/usr/bin/env python3
def profile() -> dict:
profile = dict()
profile['description'] = 'Set timeout for session'
profile['flag'] = 'TMOUT'
profile['value'] = 600
profile['filename'] = '/etc/profile'
profile['level'] = 'low'
return profile
def password_quality() -> list:
passwd = list()
return passwd