adding command to startup

William Park opengeometry-FFYn/CNdgSA at public.gmane.org
Sun Feb 13 20:02:19 UTC 2005


On Sun, Feb 13, 2005 at 02:45:20PM -0500, Matt Cahill wrote:
> 
> Howdy all,
> 
>   A while ago, I found that I needed to do 'xhost +' to allow myself to log-in 
> as root and run certain apps like Synaptic.  It turned out, in the ensuing 
> discussion, that 'xhost +' isn't exactly the most secure command in the 
> world, and I found that 'xauth merge /home/matt/.Xauthority' did the trick 
> better (or so I'm led to believe).  Problem is, I'm not sure how to add this 
> to the startup routine.  I tried adding it to /etc/init.d, but it's not 
> recognized.  So my question is:  do I append an existing start-up script, or 
> is there a way to register a start-up script of my own so that my system 
> recognizes it?

Locate 'rc.local' in your system. On mine, it's /etc/rc.d/rc.local.

-- 
William Park <opengeometry-FFYn/CNdgSA at public.gmane.org>, Toronto, Canada
Slackware Linux -- because I can type.
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list