New answers tagged useradd
Finally I finished myself This is the answer useradd -m -d /home/testuser/ -s /bin/bash -G sudo testuser
useradd -m LOGIN creates the user's home directory
The useradd program has been deprecated in favor of adduser. From man useradd: useradd is a low level utility for adding users. On Debian, administrators should usually use adduser(8) instead. adduser is a friendlier frontend to useradd and will do things like create user directories by default. When you run it with only a username as an argument, ...
while configuring , used flags : --without-libpam --without-sha-crypt . The useradd command was successfully creating users now.
Top 50 recent answers are included