Interactive script from Slackware.
The executable superadduser provides a wrapper for useradd.
Sample session
$ superadduser
Login name for new user []: testgentoo
User ID ('UID') [ defaults to next available ]:
Initial group [ users ]:
Additional groups (comma separated) []: wheel,audio,video,games
Home directory [ /home/testgentoo ]
Shell [ /bin/bash ]
Expiry date (YYYY-MM-DD) []:
New account will be created as follows:
---------------------------------------
Login name.......: testgentoo
UID..............: [ Next available ]