log daemon


 
Thread Tools Search this Thread
Top Forums Programming log daemon
# 1  
Old 09-11-2002
Question log daemon

How does a log daemon work?
If I'm upto write on, how should I design it?

for example a syslog daemon, how should I make my daemon so that it gets things that hapends in the system?

Or does every program have to call the daemon to log?

please no answers about reading code, I'w tryed and could'nt get a thing.


regards, Esaia
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Corrupted daemon.log file

hi, yesterday I made something wrong and deleted daemon.log file. Then created a new file with the same name under the same path but now, it seems that file constructed has been corrupted . In earlier times, it was including regex name. Now there is no regex name. This is the current... (0 Replies)
Discussion started by: baris35
0 Replies

2. Programming

how to programing daemon to create log record every second

i write ..... #include <stdio.h> #include <fcntl.h> #include <signal.h> #include <unistd.h> #define RUNNING_DIR "/tmp" #define LOCK_FILE "exampled.lock" #define LOG_FILE "exampled.log" void log_message(filename,message) char *filename; char *message; { FILE... (2 Replies)
Discussion started by: slackman
2 Replies

3. UNIX for Dummies Questions & Answers

Restart a Daemon

Dear expert, How do i restart a daemon ? I know to use the kill <PID> command to shut down the daemon. But after terminate the daemon, how to restart it back ? :confused: Please advice, many thanks in advance !!! :) (2 Replies)
Discussion started by: kseng2002
2 Replies

4. Shell Programming and Scripting

Daemon 101

I think I have an issue almost like Sammy_T's. I want to make a piece of code run as a daemon. I have some java, along with it 15 classpath's converted to a shell script that I can "runmyjavap". The script is just what I need to run after compiling it: #!/bin/sh java -classpath : ...(from... (3 Replies)
Discussion started by: Miller_K
3 Replies

5. Programming

Daemon

i want to write a daemon service which listens the 8080 port and write down all the details in one file. How can i do this ? (2 Replies)
Discussion started by: santosh123
2 Replies

6. AIX

rsync daemon

Does anyone out there use rsync on AIX 5.2, I've installed and would like to run in server mode, I've setup in services and inetd.conf and refreshed inetd. The rsync daemon however does not start, I've also tried rsync --daemon, this just returns to the # prompt. The rsync command itself appears to... (1 Reply)
Discussion started by: gefa
1 Replies

7. Programming

Make a Daemon?

hi can any one tell me how to make an executable to a daemon:confused: (2 Replies)
Discussion started by: sivhard
2 Replies

8. UNIX for Advanced & Expert Users

samba daemon

RedHat 7.1 Problem: can't start the smbd daemon Procedure: #/etc/rc.d/init.d/samba start ps -e ;displays the nmbd daemon running but not smbd #/etc/rc.d/init.d/samba restart ;same thing. nmbd is running but not smbd there is no firewall installed (at least that is what I told... (2 Replies)
Discussion started by: zorro81
2 Replies

9. Programming

What is a daemon process?

This is gonna seem really silly to almost evryone here - but I need to know : what is a daemon process? Thanks (6 Replies)
Discussion started by: Kanu77
6 Replies

10. Programming

daemon

I want to write background running program. How to use daemon function. Please send me source code. Thanks. (1 Reply)
Discussion started by: bat_oyu
1 Replies
Login or Register to Ask a Question
FTPUSERS(5)						     Linux Programmer's Manual						       FTPUSERS(5)

NAME
ftpusers - list of users that may not log in via the FTP daemon DESCRIPTION
The text file ftpusers contains a list of users that may not log in using the File Transfer Protocol (FTP) server daemon. This file is used not merely for system administration purposes but for improving security within a TCP/IP networked environment. It will typically contain a list of the users that either have no business using ftp or have too many privileges to be allowed to log in through the FTP server daemon. Such users usually include root, daemon, bin, uucp, and news. If your FTP server daemon doesn't use ftpusers then it is suggested that you read its documentation to find out how to block access for certain users. Washington University FTP server Daemon (wuftpd) and Professional FTP Daemon (proftpd) are known to make use of ftpusers. Format The format of ftpusers is very simple. There is one account name (or username) per line. Lines starting with a # are ignored. FILES
/etc/ftpusers SEE ALSO
passwd(5), proftpd(8), wuftpd(8) COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2000-08-27 FTPUSERS(5)