[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: To run a program under another user.



Sthu,

  Have you tried:

  "su - username", or

  "su -c command - username"?

	Cheers,
		Tyler


Sthu Deus <sthu.deus@gmail.com> wrote:
> Good day.
> 
> 
> I need to run a console program under another user - if I try to do so with the help of sudo - ut tells me that I'm out of the sudoers list. If I try to run it w/ the help of gksu (though weird it is) - it does so, but having started - the program soon is finished - as if the user has pressed Ctrl-D (it requires user's activity - when the user presses the combination - only then it finishes its work) - and I do not know why it happens (this "autopressing" of Ctrl-D).
> 
> So, my question is:
> 
> . if there is a way I can run the program under the wanted utility that at one hand reqquires not a sudoers list, at another - no need to run a X-application -
> 
> . if no, then how I can escape the "auto pressing" of Ctrl-D by gksu?
> 
> 
> Thank You for Your time.
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 


Reply to: