Koozali.org: home of the SME Server

VPN: What user can login ?

Luis

VPN: What user can login ?
« on: August 16, 2002, 07:28:55 PM »
Hi!.. i have a SME 5.5 with PPtP enable but.., I need take full control that what user can login and what user can't..

Anybody know where i can setup this ?..

Sorry by the English 8)..

Thank's

Rich Lafferty

Re: VPN: What user can login ?
« Reply #1 on: August 16, 2002, 07:40:34 PM »
By default, all users can use PPTP. You can *disable* PPTP for a specific
user by setting the PPTPAccess property to "off" in that user's accounts
db entry:

 /sbin/e-smith/db accounts setprop username PPTPAccess off

(replacing "username" with the user's username). To re-enable it,
just delete the property, or set it to "on":

 /sbin/e-smith/db accounts delprop username PPTPAccess

(or  /sbin/e-smith/db accounts setprop username PPTPAccess on)

Cheers,

--Rich

Christopher

Re: VPN: What user can login ?
« Reply #2 on: August 17, 2002, 01:22:05 AM »
is there an easy way to see what users are currently enabled / disabled?
I assume its just a table in the mysql db, but i am afraid to poke around too much in my  (rock solid) production machine.

Rich Lafferty

Re: VPN: What user can login ?
« Reply #3 on: August 17, 2002, 01:27:38 AM »
The db isn't mysql, it's text -- it's in /home/e-smith. You can see the
property for a user with

  /sbin/e-smith/db accounts getprop username PPTPAccess

Try running just "/sbin/e-smith/db" for usage information.

Cheers,

  --Rich

Christopher

Re: VPN: What user can login ?
« Reply #4 on: August 17, 2002, 01:33:51 AM »
COOL!
thanks!

Luis

Re: VPN: What user can login ?
« Reply #5 on: August 22, 2002, 11:06:48 PM »
Thank's for all !!!
Luis