Useradd
To create a user with directory and with uid
useradd -d /home/agent -u 1000 -ms /bin/bash agent