[Mono-list] Starting a program at boot (linux)

Nils Andresen nils at nils-andresen.de
Sun Aug 28 10:33:11 EDT 2011


2011/8/28 BillC <cheng.bill88 at gmail.com>:
> is it true that whole the startup proces runs with sudo?
No.
But on a very, very far abstraction it has similarities.

> because i noticed i can't "sudo mono program.exe" while "mono program.exe"
> is?
> so how can i make "sudo mono" possible?
depends on what the problem is.

But running programs as root is not always a good idea, so why not try
something like
su yourUserName -c "mono program.exe"
this should run the command under your login.


More information about the Mono-list mailing list