ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] iptables, ulog-acctd как писать информацию в разные файлы
@ 2006-11-14 12:13 georg l k.
  0 siblings, 0 replies; only message in thread
From: georg l k. @ 2006-11-14 12:13 UTC (permalink / raw)
  To: sysadmins

Простите за тупой вопрос...
А как это сделать?
auth.c этот файл где искать?
в системе или надо в пакете исправлять а потом переставлять ppp
я не очень в linux, может кому вопрос совсем "детским" покажется, но 
факт есть факт...

> Вот так вот прпатчьте pppd:
> 
> --- ppp-2.4.2_/pppd/auth.c      2006-08-23 23:28:38 +0400
> +++ ppp-2.4.2/pppd/auth.c       2006-08-24 00:05:17 +0400
> @@ -2430,7 +2430,8 @@
>    argv[3] = user_name;
>    argv[4] = devnam;
>    argv[5] = strspeed;
> -    argv[6] = NULL;
> +    argv[6] = ipparam;
> +    argv[7] = NULL;
> 
>    auth_script_pid = run_program(script, argv, 0, auth_script_done, NULL);
> }
> 
> (патч мне несколько месяцев назад прислал Александр Новосёлов)
> Повесил https://bugzilla.altlinux.org/show_bug.cgi?id=10270



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-14 12:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-14 12:13 [Sysadmins] iptables, ulog-acctd как писать информацию в разные файлы georg l k.

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git