Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Bangieff

    sendmail - relay denied

    joe /etc/mail/sendmail.cf #Hosts for which relaying is permitted ($=R) FR-o /etc/mail/relay-domains
  2. Bangieff

    how to configure Sendmail to use Cyrus-SASL?

    Hi all I've installed the Cyrus-SASL on my host as described in the INSTALL file without any trouble. After that I must recompile sendmail to use the sasl libraries. Following the information given in the www.sendmail.org I did the following: 1. created the devtools/Site/site.conf.m4 file 2...
  3. Bangieff

    How to execute shell script using C++?

    execl("/path/filename","filename","param 1",...,"param n",NULL);
  4. Bangieff

    /etcpasswd & /etc/shadow

    what happens if the server get restarted in the middle of tranzaction? That's what I'm afraid of.
  5. Bangieff

    Logging on apache

    Hi What I need is a global log: CustomLog /usr/adm/apache_access common and local log CustomLog /home/VirtServer/Log/server_access common By default when I define CustomLog in the virtual host container apache stops reporting to the global log. What I need is the same information to bi...
  6. Bangieff

    Logging on apache

    Hi all I'm running an Apache web server with some virtual servers on it. How may I log the activity for each virtual server in a separate file and for all the users in a common file simoltaneously. 10x
  7. Bangieff

    file change notify

    thanks ;) that's a good idea
  8. Bangieff

    File change detection

    What I meaned was without looping... If I use some of these methods I shoud do something like while(1) { lstat("file.dat",filestat); .... } but I want to avoid this "while" loop....
  9. Bangieff

    File change detection

    Hi all Can anyone tell me how may I untherstand immediatly when a file has been changed without looping? thanks
  10. Bangieff

    file change notify

    thanks for this source but what I'm doing should be a C program. And it's almost done except I don't want to use any loops because of the CPU time waste. There should be some kind of function (may be a kind of signal???) that watch if the file has been changed.
  11. Bangieff

    file change notify

    Hi all I'm trying to make something like authomatized "who" program. It must be able to untherstand when a user is logging in or out so it needs to know innediatly if the utmp file is changed. How may I do it without making something like: ... while (1) { u_entry=getutent()...
  12. Bangieff

    ppp login/logout

    The users have not any shell (/bin/noshell) ;) so the .shell_history file is unuseable in that case I need to log only the standart messages that syslogd outputs for the mail (sendmail & pop3 infos) and the traffic for each user in a separate file for any user. I found the utmp documentation...
  13. Bangieff

    Auto detection of date of a file

    ls -al filename | cat ..... returns the date of the file date | cat gets the symbols you need and the other is up to you ;) Good luck ;)
  14. Bangieff

    ppp login/logout

    Hi all I'm trying to write a simple user activity logging program. But Would anyone tell me what's the best way to untherstand that a user have logged in or out Thanks
  15. Bangieff

    Setting up POP3

    what's this "anything"? it should be a valid username or mailalias otherwise sendmail won't accept it. For example you should add the mailalias (/etc/mail/aliases or /etc/aliases): anything: customer Good Luck ;)
  16. Bangieff

    fgets question

    Hi all Here is the situation: I need a program that reads information from stdin and for example write it to stdout (the second part is not exactly the same but it's not important right now ;) ). And that's what I wrote: #include <stdio.h> main() { char *str; while (1) { if...
  17. Bangieff

    arguments from command line

    Yes that's clear to me but I need some way to catch them without &quot;\&quot;. That's because my program allows users to execute some commands with root privilegies but a don't want someone to read my shadow and copy it to stdout for exapmle ;)
  18. Bangieff

    arguments from command line

    Hi all here I am again with my lame questions ;) How may I get from command line special characters like <,>,;.... and have them like arguments for my program (main(int argc,char **argv))? thanks
  19. Bangieff

    a logging question

    Hi all I need to create a separate log file for each user where to be stored users mail activity. Can anyone tell me how to do it? Thanks in advance
  20. Bangieff

    int to char array?

    huh a little bit shorter than mine ;)

Part and Inventory Search

Back
Top