learn address problems with chroot, or userid
The only way I can get learn-address script to work is by running openvpn as root
Ideally I'd like to create an openvpn user, and chroot to /openvpnprivate/
then run
learn-address /script
However when I tried this I get "cannot execute cmd" error
So is this driver error , or a bug ?
Dave
Quoted 11 lines · Dave Cramer
The only way I can get learn-address script to work is by running openvpn as root
Ideally I'd like to create an openvpn user, and chroot to / openvpnprivate/
then run
learn-address /script
However when I tried this I get "cannot execute cmd" error
Inside chroot you need:
/bin/sh (system(3) spawns command using sh -c)
/lib or /lib64 directory with all libraries that are linked against your sh.
Run ldd /bin/sh to get list of linked libraries.
Hope this helps...
cheers,
Signature · 5 lines
Brane F. Gračnar Sistemski administrator za UNIX okolje Interseek d.o.o., Stegne 31, SI-1000 Ljubljana e-mail > [email protected]... www.interseek.si, www.najdi.si
doh!
Thanks
Quoted 40 lines · Brane F. Gračnar
Quoted 11 lines · Dave Cramer
The only way I can get learn-address script to work is by running openvpn as root
Ideally I'd like to create an openvpn user, and chroot to / openvpnprivate/
then run
learn-address /script
However when I tried this I get "cannot execute cmd" error
Inside chroot you need:
/bin/sh(system(3) spawns command using sh -c)
/lib or /lib64 directory with all libraries that are linked against your sh.Run ldd
/bin/shto get list of linked libraries.Hope this helps...
cheers,
Signature · 16 lines
Brane F. Gračnar Sistemski administrator za UNIX okolje Interseek d.o.o., Stegne 31, SI-1000 Ljubljana e-mail > [email protected]... www.interseek.si, www.najdi.si ---------------------------------------------------------------------- --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel