I need to put a command in my Linux user's .profile file, so that, when logging in, via ssh, it automatically switches to root

Job ID: 37191004

Budget: $10 – $30 USD

I need to put a command in my Linux user's .profile file, so that, when logging in, via ssh, it automatically switches to root

I've tried several commands, but to no avail...

an example I tried...

echo ${root_passwd} | su-

1) Note, I don't want to use sudo
2) yes, I want to use root password on a plain text file
3) yes, I know it's a security issue
Related categories: Linux UNIX Bash