I changed the default of users with "useradd –D –b /home/packers –s /bin/bash –g packers" this command. But i want to change them to original default. which command do i need to use?
migrated from stackoverflow.com Nov 29 '12 at 5:25
It sounds like you want to reset the default configuration to what it was before you entered that command.
Try this to reset the defaults you changed:
Usually you shouldn't change the defaults (-D) unless you have a good reason too. Also, if you want an interactive way of adding users, try
Here is all the default values incase you need them: ( it says 100 for group, that is the ID for users )