Re: [gentoo-user] program autostart from another user [OT]

2007-08-09 Thread Bo Ørsted Andresen
On Monday 30 July 2007 17:55:37 Mark Shields wrote: I see... Just curious, why would you need a program to be executed by a user who isn't logged in? The only reason I can imagine is a daemon, server o similar; Yes, this is a server :). Use the start-stop-daemon like he suggested.

[gentoo-user] program autostart from another user

2007-07-30 Thread Aleksey V. Kunitskiy
Hi, I want to auto start some programs on startup, using init My local.start looks like: sudo -u user_name screen program My question is - is it the right way? How can I attach next program to existing screen session (by creating new buffer in screen session)? Thanks -- best regards, Aleksey

Re: [gentoo-user] program autostart from another user

2007-07-30 Thread Abraham Marín Pérez
Maybe this doesn't exactly meet your needs but, have you tried to add those program to ~/.bashrc? That way the program will be executed for your user. Abraham Aleksey V. Kunitskiy escribió: Hi, I want to auto start some programs on startup, using init My local.start looks like: sudo -u

Re: [gentoo-user] program autostart from another user

2007-07-30 Thread Aleksey V. Kunitskiy
On Monday 30 July 2007 12:58, Abraham Marín Pérez wrote: Maybe this doesn't exactly meet your needs but, have you tried to add those program to ~/.bashrc? That way the program will be executed for your user. I need startup program without user be logged in. -- best regards, Aleksey V.

Re: [gentoo-user] program autostart from another user

2007-07-30 Thread Boyd Stephen Smith Jr.
On Monday 30 July 2007 03:29:36 am Aleksey V. Kunitskiy wrote: I want to auto start some programs on startup, using init My local.start looks like: sudo -u user_name screen program My question is - is it the right way? You don't have to use screen, but that should work. How can I attach

Re: [gentoo-user] program autostart from another user [OT]

2007-07-30 Thread Abraham Marín Pérez
Aleksey V. Kunitskiy escribió: On Monday 30 July 2007 12:58, Abraham Marín Pérez wrote: Maybe this doesn't exactly meet your needs but, have you tried to add those program to ~/.bashrc? That way the program will be executed for your user. I need startup program without user be logged

Re: [gentoo-user] program autostart from another user [OT]

2007-07-30 Thread Aleksey V. Kunitskiy
On Monday 30 July 2007 16:07, Abraham Marín Pérez wrote: I see... Just curious, why would you need a program to be executed by a user who isn't logged in? The only reason I can imagine is a daemon, server o similar; Yes, this is a server :). -- best regards, Aleksey V. Kunitskiy my public

Re: [gentoo-user] program autostart from another user [OT]

2007-07-30 Thread Mark Shields
On 7/30/07, Aleksey V. Kunitskiy [EMAIL PROTECTED] wrote: On Monday 30 July 2007 16:07, Abraham Marín Pérez wrote: I see... Just curious, why would you need a program to be executed by a user who isn't logged in? The only reason I can imagine is a daemon, server o similar; Yes, this is a

Re: [gentoo-user] program autostart from another user [OT]

2007-07-30 Thread Uwe Thiem
On 30 July 2007, Aleksey V. Kunitskiy wrote: On Monday 30 July 2007 16:07, Abraham Marín Pérez wrote: I see... Just curious, why would you need a program to be executed by a user who isn't logged in? The only reason I can imagine is a daemon, server o similar; Yes, this is a server :).