nirc & sudo


Forum: Apps
Topic: nirc & sudo
started by: dsp

Posted by dsp on Feb. 04 2006,06:41
Hi all,

I'm tryin' to make work this command line at boot.

Code Sample

sudo -u dsl screen -dmS irc nirc


I putted the script in the /etc/init.d/ folder and i did update-rc.d.

The problem is that nirc executed with the script at boot don't load the settings of .nircrc :(

i tried to load the script after the login and works....
I really don't know where the problem is :(

Is it possible set nirc with an external config ? :)

Something like nirc --input-config=/.config :D

ThanX for the help :)

Posted by mikshaw on Feb. 04 2006,16:29
Is user dsl being logged in automatically?  If so, put the command in /home/dsl/.bash_profile (without the "sudo" part).  Boot scripts are not really intended to run user commands.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.