Linux User non-interactive shell task failed

[email protected]_host /$ sudo useradd -s /sbin/nologin javed

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password for thor:

Asking for root password.I don’t no the password Any body can help. I am new to Linux

Hello Sud,
I don’t believe you are required to do any task on jump_host. I think you ssh to the host you are ask to do work on as a specific user. All accounts are provided in the wiki. Read the instructions again.

[sudo] password for thor:
this is not asking for roots password. It is asking for thor’s password. When you login to the correct server, with the right user, when you do sudo, provide that users password. They are all in the wiki.

As per this task i have done every thing . but getting the below mentioned error

create a user named ravi with a non-interactive shell in the app01 server.

**[email protected]_host / ssh app01** ssh: Could not resolve hostname app01: Name or service not known [email protected]_host / hostname
**[email protected]_host / cat etc/hosts** localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ** stapp01** stapp02 stapp03172.16.238.2 jump_host jump_host [email protected]_host / ssh stapp01
The authenticity of host ‘stapp01 (’ can’t be established.
ECDSA key fingerprint is SHA256:+Yk6KSzW9D3uqOP1iib94uDIajBcr0scScTyypjzmCk.
ECDSA key fingerprint is MD5:05:18:26:79:98:f2:82:11:14:27:e6:99:69:2f:c0:8c.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added ‘stapp01,’ (ECDSA) to the list of known hosts.
[email protected]’s password:
Permission denied, please try again.
[email protected]’s password:
Permission denied, please try again.
[email protected]’s password:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).

thor is not a user on stapp01. That is why it does not work. Below is what is listed on the wiki.
tony is the user on stapp01 and his password is [email protected]. So to login to stapp01, you will initiate it from jump_host server as such:

ssh [email protected]
ssh [email protected]

Once logged in, then you can do the task:
sudo useradd -s /sbin/nologin javed

You will then be asked for tony’s sudo password
[sudo] password for tony:
the password will be tony’s password ([email protected])

stapp01 tony [email protected] Nautilus App 1
stapp02 steve [email protected] Nautilus App 2
stapp03 banner BigGr33n Nautilus App 3
stlb01 loki Mischi3f Nautilus HTTP LBR
stdb01 peter Sp!dy Nautilus DB Server
ststor01 natasha [email protected] Stork DC Storage Filer
stbkp01 clint [email protected] Nautilus Backup Server
stmail01 groot Gr00T123 Nautilus Mail Server
jump_host Dynamic thor mjolnir123 Jump Server to Access Stork DC

Task Completed Sir