Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Luis on August 16, 2002, 07:28:55 PM

Title: VPN: What user can login ?
Post by: Luis 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
Title: Re: VPN: What user can login ?
Post by: Rich Lafferty 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
Title: Re: VPN: What user can login ?
Post by: Christopher 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.
Title: Re: VPN: What user can login ?
Post by: Rich Lafferty 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
Title: Re: VPN: What user can login ?
Post by: Christopher on August 17, 2002, 01:33:51 AM
COOL!
thanks!
Title: Re: VPN: What user can login ?
Post by: Luis on August 22, 2002, 11:06:48 PM
Thank's for all !!!
Luis