Linux Banner - Task Failed

I set in all user and db server but failed

sudo scp -r /root/nautilus_banner tony@stapp01: /home/tony
sudo scp -r /root/nautilus_banner steve@stapp02:/home/steve
sudo scp -r /root/nautilus_banner banner@stapp03:/home/banner

ssh peter@stdb01
sudo yum install openssh-clients -y
exit
sudo scp -r /root/nautilus_banner peter@stdb01:/home/peter
ssh tony@stapp01
sudo mv nautilus_banner /etc/motd
exit
ssh steve@stapp02
sudo mv nautilus_banner /etc/motd
exit
ssh banner@stapp03
sudo mv nautilus_banner /etc/motd
exit

ssh peter@stdb01
sudo mv nautilus_banner /etc/motd
exit

I think this task should be assigned to you again as I don’t see anything done wrong . Any thoughts on this @Tej-Singh-Rana?

Yeah, should be mark success.

But make sure you haven’t forget to add banner in the app server3. Because of multiple servers.

can’t we directly use this command to copy the content in modt file
sudo scp -r /home/thor/nautilus_banner root@stapp01:/etc/modt ?

Hello, @Vikrant
In this case, you should know the password of the root user of app server. We provided you only sudo users of app server. If you will change the password and then do this. May be possible.

2 Likes