ok, this is a complete newbie question.
If I add a user, i enter the command useradd joe .
Which is fine, it works.
However i cant login using that user account, password not accepted.
So, I tried using the command usermod but i just cannot for the life of me work out the parameters.
If i enter the command usermod joe -p donut to change user Joe's password to donut, its wont except it.
One other question, if I want this user only to be able to access one directory, do i use the command chmod, and can someone provide an example of using it?
Put me out of my misery please!