SA-MP Forums Archive
How to add user account to a Cent OS 5 VPS? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: How to add user account to a Cent OS 5 VPS? (/showthread.php?tid=346374)



How to add user account to a Cent OS 5 VPS? - Samp_India - 28.05.2012

When i use adduser "name" and then passwd "pass" it changes the Root accounts password why? and when i try to login as that user it says wrong password.


Re: How to add user account to a Cent OS 5 VPS? - Calgon - 28.05.2012

Are you sure it's not asking you to confirm the password for root before you can create a new account?


Re: How to add user account to a Cent OS 5 VPS? - Samp_India - 28.05.2012

I have a problem.yesterday i tried to create a user .That user got created but it say wrong password when i try to login to that account.Is there a way to delete that user account or recover password?


Re: How to add user account to a Cent OS 5 VPS? - Mauzen - 28.05.2012

Its not passwd "pass", but passwd "accountname" ENTER and then the pass.


Re: How to add user account to a Cent OS 5 VPS? - Samp_India - 28.05.2012

yes i typed "passwd desiredpass".my current question is : is there a way to delete an account?


Re: How to add user account to a Cent OS 5 VPS? - Mauzen - 28.05.2012

USERDEL "name" would be the usual way.


Re: How to add user account to a Cent OS 5 VPS? - Samp_India - 28.05.2012

Its not working...
says
Quote:

-bash: USERDEL: command not found




Re: How to add user account to a Cent OS 5 VPS? - Mauzen - 28.05.2012

oops forgot about the case sensitivity, the caps was just to stress the cmd.
Its all lower-case, so

userdel "name"


Re: How to add user account to a Cent OS 5 VPS? - Samp_India - 28.05.2012

i tried .it didnt show any error nor a message. like it had no effect.


Re: How to add user account to a Cent OS 5 VPS? - Mauzen - 28.05.2012

If everything went fine it shouldnt give any output, thats correct. Check if the user really was deleted, e.g. try to delete it again, this should give an error then.