If it has an rc.d script, you can run it with the "stop" command, e.g.
Code:
# /etc/rc.d/daemon stop
Or with most daemons you can simply just send an interrupt signal to the (parent) program; just use `ps` to find out the daemon's pid and then use the kill command. Some daemons put their pid inside a file, so you consistently do something like
Code:
# kill `cat /var/run/daemon.pid`
You need to be root to do these things, so either (1) login as root, (2) use su, or (3) use sudo. I prefer the last because it's more convenient, more secure (although some will debate this), and leaves a log trail.