title: how to switch to root user without entering password in bash script on RedHat
body: <p>I want to switch to root user in bash script on RedHat by specifying the password in code rather than entering it.</p>
  
  <p>Any help will be highly appreciated.</p>
  
  <p>Thanks</p>