I do a lot of administration in CentOS6 for several teams. One of the more frequent things I do is sync down and package code as the team account, before deploying it out under my own account.Is there a way to go about this without having to do a full sudo su team_abc? Is there a flag that will allow me to execute a specified command without exiting my current session?caveat - these users are LDAP'd, and my account bypasses the Enter password: prompt when sudo suing.
Is it possible to execute a command as another user without sudo su'ing to that user?
centos;sudo;su