Google Compute Engine Startup Script.

Job ID: 34126783

Budget: $10 – $30 USD

Hello,

I need a small startup script coded for the google compute engine platform that will run on CentOS 7x and Ubuntu 18.04/20.04.

The startup script should perform the following functions. Obviously, with ubuntu, it will use apt-get instead of yum.

1. Change to => sudo su
2. Disable Selinux (centos)
3. Edit /etc/selinux/config and allow PasswordAuthentication yes, and direct root login yes on port 22.
4. systemctl restart sshd
5. Set a default root password => passwd root @pple$534199

Thank you!
Related categories: Python System Admin Linux Shell Script Ubuntu