LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-04-2004, 11:52 AM   #1
Wolf-67
LQ Newbie
 
Registered: Oct 2004
Posts: 13

Rep: Reputation: 0
How Do I Run A Program As A Different User??






Thanks!!
 
Old 10-04-2004, 12:18 PM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
su username
program
 
Old 10-04-2004, 12:18 PM   #3
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
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)
 
Old 10-04-2004, 12:26 PM   #4
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,506

Rep: Reputation: 194Reputation: 194
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
run program as different user h2gofast Linux - Newbie 2 11-26-2005 12:05 PM
Need to have program run as different user exodist Linux - Software 5 10-26-2005 10:07 PM
Run program as user falcon Linux - Newbie 1 11-07-2004 11:17 AM
run program after user logs in kinasz Linux - General 2 09-22-2004 03:47 AM
How to run a program as a different user? Guru3 Linux - General 4 11-04-2003 12:35 PM


All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration