Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 1997 17:15:26 -0300
From:      Paulo Fragoso <paulo@nlink.com.br>
To:        freebsd-isp@freebsd.org
Subject:   PPPD whith +pap and login (whoami?)
Message-ID:  <33A9935E.8BA55934@nlink.com.br>

next in thread | raw e-mail | index | archive | help
Hi,

I wuold like write a script for many things. But I don't know get UID
when my users are logged whith pppd using "+pap login auth". This script
is started from getty whith
":de#2:np:sp#115200:pp=/usr/local/etc/pwin:".

Pppd write in the file wtmp the username but 'pwin' script has UID=0.
Are there any solution whithout write anything in some file to get
username?

Thanks,
Paulo.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33A9935E.8BA55934>