LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How Do I Run A Program As A Different User?? (https://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-run-a-program-as-a-different-user-238654/)

Wolf-67 10-04-2004 11:52 AM

How Do I Run A Program As A Different User??
 
:newbie:



Thanks!!

whansard 10-04-2004 12:18 PM

su username
program

scuzzman 10-04-2004 12:18 PM

got to a terminal and type

su USERNAME

where USERNAME is the user to run the program as (note: it will prompt you for a password)

kilgoretrout 10-04-2004 12:26 PM

It's easy to do in kde if you know how to make a desktop link to an application. In the program tab that sets up the link, tick on the advanced button and you have the option to set the link up to run as a different user. Enter the user name you want and then afterwards, every time you click on the link, you'll be prompted for the user's password before the app is launched.


All times are GMT -5. The time now is 07:23 AM.