Adding users
hey
I have been using the server on our network, anyway some how I have managed to delete my user dirrectory and now I cannot log back in (ssh). I have root the password so how do I add a new user through the command line, I tried just making a new dirrectory to /home but this doesnt work. Any pointers????? |
If all you did was delete the home directory for the user then try this:
mkdir /home/<user> chown <user>:users /home/<user> If you somehow deleted the user entirely then the adduser command will help you out. |
All times are GMT -5. The time now is 02:04 AM. |