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...
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
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()...
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
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...
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
Hi there
I'm trying to create a directory with flags drwxrwxrwx .
I think this should create it:
mkdir("./tmp",0777);
but it creates a directory drwxr_xr_x tmp
anyone can tell me where am I wrong?
Hi all
can anyone tell me please why this piece of code returns me segmentation fault:
void func(int typ)
{
char **abc;
...
switch(sys)
{
case 1:
char *tmp[]={"a","b","c");
abc=tmp; //when reach this row "segmentation...
Hi all
I'm setting up a LAN server for internet sharing on a Linux Slackware platform. I want to be sure opnly the people I want to , are abled to access the internet. But I want to be sure noone can change his IP address and use someone else's account. Because of it I want to detect the MAC...
Hi all
would you please reccomend me a software to install on my slackware server that to log the traffic that passess thru my ethernet card ( I don't need a sniffer or something but only to know how many MB per month are passing thru)
Hi all
I need my program to be abled to add users but I couldn't find how to do it so I use execve(useradd....) but it doesn't add the user's password in the /etc/shadow file. Then I found in man the setpwent() function but I just can't untherstand how to use it. the compiler doesn't like the...
Hi all
Can anyone tell me whats wrong with this fragment:
cout << crypt("qwerty","ab");
but when I try to compile it, I'm getting this:
undefined reference to 'crypt'
Thanks in advance
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.