Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started 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
-
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
-
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.
-
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
-
COOL!
thanks!
-
Thank's for all !!!
Luis