When running useradd as not root, the program should return an error about not having sufficient permissions to save the user infos, not about not being able to create the home dir. This should be a simple fix of moving the sys_users and sys_groups
savecalls up a few lines.
- In a similar vein, home directories are created with incorrect permissions.
- As per the FreeBSD man page(and linux, as it happens, but these tools are based on BSD), useradd disables the password instead of leaving it blank, like the current implementation. This is more of a todo for when I implement disabled passwords.