title: SSH as user allowing temporary root access in Linux
body: <p>I want to SSH a CentOS server as user X, say (not root). I then want to transfer files to the server. That is easy enough. But then I want to move the files to a "pool" where all users can access them, i.e. outside user X's directory.</p>
  
  <p>Can I do this? I don't want to login as root for various reasons, including security issues. I basically want my script, which moves the file from user X's directory to an outside directory, to have root privelages temporarily.</p>