Skip to contentSkip to conversation

Setting environment variables and strange string in client

DISCUSSION Greg 1 participant 1 message Mar 17, 2014 PPP protocol drivers and compressors

lore
Share & tools
lore

Greg

author
#0 lore raw

hi guys,

I'm creating a logging system that is tracking the bandwidth of a particular user. The thing is, users can login to the same system multiple times. So I need to assign a unique id for tracking to each connection.

Is there a way to set an environment variable from the script at client-connect or from another option?

Also, when I setup and ovpn file, In the client I see: "This is a static profile that will connect to %S@%S"

Anyone know how I can correct that string %S@%S to something@something?

Signature · 3 lines
Thank you,
Greg Borbonus
*Nix Server administrator