Hi All,
I done it correctly but it shows below prompt
Can anyone please help me on this
sudo useradd james
sudo passwd james
sudo usermod -u 1198 james
sudo usermod -d /var/www/james james
the above are the cmds i ran
below is the error
Hi All,
I done it correctly but it shows below prompt
Can anyone please help me on this
sudo useradd james
sudo passwd james
sudo usermod -u 1198 james
sudo usermod -d /var/www/james james
the above are the cmds i ran
below is the error
I just got it
we need to ssh user@ipaddress or user@servername
for the another server acceess
hi, i ssh into the server and created a user and password, but its still telling me my task was incomplete. how did you get around that please?
Can you walk us through what you did so we have a better idea of what we can do to help you?
hello, thank you for your reply. i did ssh into the server and ran this other commands:
sudo useradd james
sudo passwd james
sudo usermod -u 1198 james
sudo usermod -d /var/www/james james
i was able to create user but it kept on telling me my task was incomplete and user does not exist.
whenever i try to do it again, it says user already exist
anytime I’ve created a new user, i’ve verified that the user has been created by typing ‘cat /etc/passwd’ to validate the new user including all the appropriate information (UID,GID, home directory location, shell)
what helped me get this completed was that I’ve ssh’d into the server using the tony credentials, typed in:
sudo useradd -m -d /var/www/james -u 1198 james
-m means to create a home directory and add the -d for the customized home directory.
see if that helps.
Also, I’ve noticed on your screenshot that you were ssh’ing in server 2, wasn’t it supposed to server 1, i forget.
YES! I got it. I have been ssh’ing into a wrong server, the server 2 was steve. thank you so much for the information and effort.