On Sat,  3 Nov 2001 11:53, you wrote:
> Keith Antoine babbled on about:
> > bpalogin -c /etc/bpalogin.conf
>
> copy /etc/rc.d/skeleton to /etc/rc.d/bplogin
> put this command into /etc/rc.d/bplogin in the start) section

Sorry but I am as thick as two bricks when it comes to scripts, however I do 
NOT Have a /etc/rc.d/bpalogin, I do have a /etc/bpalogin.conf. Also isn't 
rc.d just a simlink to init.d ? If I were to copy the skelton to bpalogin 
wouldn't that just overwrite the bpalogin script? 

Thjis is the bpalogin script that is in /etc/bpalogin.conf
---------------------------------------------------------------------------------------

# Default debug level is 1.  Values range from 0-2 with 0 being silent
# All information goes to the syslog.
debuglevel 1

# The user name you have for your BPA account
username **************

# Your BPA password
password ***************

# The default auth server is "dce-server" You can override this value, but
# you would only do this if you have not set your default domain correctly
# in your /etc/resolv.conf
#authserver dce-server

# You can override the default domain if you have your
# resolv.conf set to not include the BPA domains.
#authdomain vic.bigpond.net.au
 
# The loginprog will be executed whenever BPALogin connects successfully
# you could have it run a script to start a firewall, etc.  The first
# parm to the program will be the port number
#connectedprog  /etc/rc.d/rc.masq
#disconnectedprog  /etc/rc.d/rc.masq
 
# If you want to bind BPALogin to a specific address rather than all
# sockets, you can do that here.
#localaddress 10.1.2.0
 
# You can now define the listen port instead of a random port
# This will help with firewalls.
#localport 5050
 
# Logging can be sent to syslog or sysout.
#logging sysout
 
# Set the minimum heartbeat interval.  This can protect against
# DoS attacks.
minheartbeatinterval 60


> then cd rc3.d
> ln -s ../bplogin S100bplogin
> cd ../rc5.d
> ln -s ../bplogin S100bplogin
>
> that should cause it to be run whenever you enter runlevel 3 or 5

-- 
Keith Antoine, 18 Arkana St, The Gap, Queensland 4061 Australia PH:61733002161
Retired Geriatric, Sometime Electronics Engineer, Knowall, Brain in storage

_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to