#!/bin/bash

useradd --system --shell /sbin/nologin -u 999 sysuser
useradd -u {{{ uid_min }}} testuser

key=SYS_UID_MAX

printf "%s 999\n" "$key" >> {{{ login_defs_path }}}

key=SYS_UID_MIN

# Add bogus key as 2nd last and valid last line w/o nl
printf "%s 2000\n%s 201" "$key" "$key" >> {{{ login_defs_path }}}
