title: sudo to a different user and run command as that user
body: <p>consider this sudo command below</p>
  
  <pre><code>sudo -iu bigadmin
  </code></pre>
  
  <p>bigadmin is a generic user that all users sudo to, to do stuff with privileged access. 
  Now the problem is it a shared user like I mentioned. So any kind of profile customization isn't gonna work .</p>
  
  <p>What I am trying to do is  for the sessions I establish- I want to run a script that has all my variables inside. so when I sudo it should do these things </p>
  
  <pre><code>sudo -iu bigadmin ; . ./mycustomshell.sh 
  </code></pre>
  
  <p>How's this best done.</p>