01-16-2008
restart the syslog daemon
/etc/init.d/syslog stop
/etc/init.d/syslog start
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
my linux box is, for some reason, creating two files when I creat one. For example, if I create a file via the VI editor called TestFile, the box will create:
TestFile
TestFile~
Does anyone have any ideas as to why I'm getting that second file with the ~ at the end of it?
... (1 Reply)
Discussion started by: Atama
1 Replies
2. UNIX for Dummies Questions & Answers
Any simple 1 liners to check a directory to see if a file was created within the last 10 mins? (5 Replies)
Discussion started by: frustrated1
5 Replies
3. UNIX for Dummies Questions & Answers
How i get the all the files created by particular user?? (2 Replies)
Discussion started by: Anshu
2 Replies
4. Shell Programming and Scripting
I need a script which list the files which is starting with the word heap*** and that is created before past 24 hours.I need the script using find command. please help me on this. (1 Reply)
Discussion started by: jayaramanit
1 Replies
5. UNIX for Advanced & Expert Users
Hi,
Within a SQL file i am calling 5 shell scripts in back ground and redirecting their outputs to different log files in a specific directory.
Now when I observed is, the log files are created with different permissions even though i did not do any thing specific.
For example in... (2 Replies)
Discussion started by: steria_learner
2 Replies
6. Shell Programming and Scripting
Hello. I have a scripting query that I am stumped on which I hope you can help with.
Basically, I have a ksh script that calls a process to create n number of binary files. These files have a maximum size of 1Gb. The process can write n number of files at once (parallel operation) based on the... (4 Replies)
Discussion started by: eisenhorn
4 Replies
7. Shell Programming and Scripting
solaris 8 and solaris 10
c shell
I have a /local/tmp/ directory that is cleared out every day and files are created in it all day long from 0000 - 2359 (24 hour clock) A new file is created in this directory every couple of minutes.
I want a script "rrtime" that takes two arguments hhmm1 and... (4 Replies)
Discussion started by: ajp7701
4 Replies
8. Shell Programming and Scripting
Hello experts,
I used following approach to get listing of all files of remote server.
Now I have remote server file information on same server.
I am getting listing in the output.txt
I want to count today's created files and old files.
I want to compare the numbers... (11 Replies)
Discussion started by: dipeshvshah
11 Replies
9. Shell Programming and Scripting
Is it possible in an ftp script to get remote files based on whether they have been created in the last 30 minutes? (5 Replies)
Discussion started by: gefa
5 Replies
10. Shell Programming and Scripting
Hi,
I want to display the file names and the record count for the files in the 2nd column for the files created today.
i have written the below command which is listing the file names. but while piping the above command to the wc -l command
its not working for me.
ls -l... (5 Replies)
Discussion started by: Showdown
5 Replies
LEARN ABOUT NETBSD
openpam_log
OPENPAM_LOG(3) BSD Library Functions Manual OPENPAM_LOG(3)
NAME
openpam_log -- log a message through syslog
LIBRARY
Pluggable Authentication Module Library (libpam, -lpam)
SYNOPSIS
#include <sys/types.h>
#include <security/pam_appl.h>
#include <security/openpam.h>
void
openpam_log(int level, const char *fmt, ...);
DESCRIPTION
The openpam_log function logs messages using syslog(3). It is primarily intended for internal use by the library and modules.
The level argument indicates the importance of the message. The following levels are defined:
PAM_LOG_DEBUG Debugging messages. These messages are normally not logged unless the global integer variable openpam_debug is set to a
non-zero value, in which case they are logged with a syslog(3) priority of LOG_DEBUG.
PAM_LOG_VERBOSE Information about the progress of the authentication process, or other non-essential messages. These messages are logged
with a syslog(3) priority of LOG_INFO.
PAM_LOG_NOTICE Messages relating to non-fatal errors. These messages are logged with a syslog(3) priority of LOG_NOTICE.
PAM_LOG_ERROR Messages relating to serious errors. These messages are logged with a syslog(3) priority of LOG_ERR.
The remaining arguments are a printf(3) format string and the corresponding arguments.
SEE ALSO
pam(3), printf(3), syslog(3)
STANDARDS
The openpam_log function is an OpenPAM extension.
AUTHORS
The openpam_log function and this manual page were developed for the FreeBSD Project by ThinkSec AS and Network Associates Laboratories, the
Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS''), as part of the DARPA CHATS
research program.
BSD
December 18, 2011 BSD