James Stewart wrote:
> 
> Hi,
> 
> I make my ppp connections as the user "james" but want to have a script
> that is run at connection time, which runs some commands as james and some
> as root, as I need to call fetchnews as root. What's the best way to do
> this?

Commands in /etc/ppp/ip-up.local will be run as root when the PPP
connection is brought up.  Place the commands you want executed as root
into that file.
 
> Also, apmd is run when I boot the system. What file do I change to affect
> how low the battery on my laptop can go before I get system messages every
> minute warning me about it? It gets very annoying getting messages when
> the battery has 45 minutes of life left to it.

"man apmd" should give the information you need.

-- 
Steve Philp
Network Administrator
Advance Packaging Corporation
[EMAIL PROTECTED]

Reply via email to