LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   different credentials (https://www.linuxquestions.org/questions/linux-general-1/different-credentials-238282/)

alaios 10-03-2004 01:59 PM

different credentials
 
Hi. I need to run some command under different credentials....
Any good suggestion????

mirradric 10-03-2004 02:02 PM

Do you mean runing programs as another user? If that is the case then su, sudo are your answer.

david_ross 10-03-2004 02:03 PM

You can use su:
su - USER -c COMMAND


All times are GMT -5. The time now is 09:28 AM.