All of lore.kernel.org
 help / color / mirror / Atom feed
* Auth-up and Auth-down
@ 2007-05-10 16:48 Allen Green
  2007-05-10 17:29 ` James Carlson
  2007-05-13  5:49 ` Gilles Espinasse
  0 siblings, 2 replies; 3+ messages in thread
From: Allen Green @ 2007-05-10 16:48 UTC (permalink / raw)
  To: linux-ppp


do Auth-up and Auth-down run by default?
i created a simple Auth-down file in /etc/ppp/ :
#!/bin/sh
echo 1 > /root/1.txt

and im using poptop server, but nothing happened  when a user logined and
logouted.
i think these files do not run by default 
-- 
View this message in context: http://www.nabble.com/Auth-up-and-Auth-down-tf3722844.html#a10417238
Sent from the linux-ppp mailing list archive at Nabble.com.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Auth-up and Auth-down
  2007-05-10 16:48 Auth-up and Auth-down Allen Green
@ 2007-05-10 17:29 ` James Carlson
  2007-05-13  5:49 ` Gilles Espinasse
  1 sibling, 0 replies; 3+ messages in thread
From: James Carlson @ 2007-05-10 17:29 UTC (permalink / raw)
  To: linux-ppp

Allen Green writes:
> 
> do Auth-up and Auth-down run by default?
> i created a simple Auth-down file in /etc/ppp/ :
> #!/bin/sh
> echo 1 > /root/1.txt

Are you sure you got the name of the file right?  It is:

	/etc/ppp/auth-down

not:

	/etc/ppp/Auth-down

Case ('a' versus 'A') is crucial.  Did you make the file executable
and owned by root?

Do you have debug logs from your pppd session?  How was pppd
configured?

Note that these scripts run only when pppd is configured as an
authenticator ("server"), and not when it's only the authenticatee
("client").

-- 
James Carlson         42.703N 71.076W         <carlsonj@workingcode.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Auth-up and Auth-down
  2007-05-10 16:48 Auth-up and Auth-down Allen Green
  2007-05-10 17:29 ` James Carlson
@ 2007-05-13  5:49 ` Gilles Espinasse
  1 sibling, 0 replies; 3+ messages in thread
From: Gilles Espinasse @ 2007-05-13  5:49 UTC (permalink / raw)
  To: linux-ppp


----- Original Message ----- 
From: "Allen Green" <allen_green1981@yahoo.com>
To: <linux-ppp@vger.kernel.org>
Sent: Thursday, May 10, 2007 6:48 PM
Subject: Auth-up and Auth-down


> 
> do Auth-up and Auth-down run by default?
> i created a simple Auth-down file in /etc/ppp/ :
> #!/bin/sh
> echo 1 > /root/1.txt
> 
> and im using poptop server, but nothing happened  when a user logined and
> logouted.
> i think these files do not run by default 
> -- 
http://marc.info/?l=linux-ppp&m\x117881825303547&w=2

Gilles

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-13  5:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-10 16:48 Auth-up and Auth-down Allen Green
2007-05-10 17:29 ` James Carlson
2007-05-13  5:49 ` Gilles Espinasse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.