sitecreator
04-27-2002, 07:43 PM
Hi Guys!
I am trying to create a demo Cpanel account from WHM which my end user could access without the need of username and password.
I've seen this on many host but I am just not being able to do this , could any one please tell me what I am missing? Has anyone here done this before?
Thanks in advance.
insiderhosting
04-27-2002, 07:53 PM
Ok create an account like you would any normal account except the domain should be something like demo.yourdomain.com with no privleges like cgi, shell,etc. When you create the account use the username and password of demo. Then enable the demo account in WHM. Then tell your customer to go to http://demo:demo@your_ip:2082/frontend/default/index.html
sitecreator
04-27-2002, 07:59 PM
Thanks insiderhosting!!
I've got it done.
sitecreator
04-27-2002, 08:11 PM
Just a last one mates,
is it important to Disable or Enable Demo Mode on this type of Account ? I don't know if this feature is for security reason or something... Does any one knows about this att all?
Thanks.
insiderhosting
04-27-2002, 08:51 PM
Well you have to enable the demo in order for it to work correctly, and so that people are VERY limited in what they can do with the demo. Recently there has been a lot of discussion regarding demo accounts and fork bombs, so be carefull. Do a search on this forum and this will help you even more.
Hope this helps
Steven
mdrussell
04-28-2002, 04:39 AM
The biggest piece of advice I can give is don't use / issue demo accounts - you saw what they did to us when some of our resellers set them up a few weeks ago.
It is much much more secure to have a static demo, we created http://cpaneldemo.voxtreme.com for the same purprose. Feel free to copy and paste, I wouldn't like to see anyone go through what we did.
Matt
StevenG
04-28-2002, 10:44 PM
Good advice Matt, is that how you were fork bombed? (Were you guys fork bombed?)
Demo accounts make me nervous.... I disabled them, am going to put up a static version of cpanel/ WHM there's really no reason to let people view what comes after the index page anyway.. keeps them excited till they sign up and access themselves for real :-)
priyadi
04-29-2002, 01:12 AM
A better way to offer demo accounts is to make the whole account read only.
On Linux with ext2/3, it can be done by using 'chattr +i'. On other system it can be done by using a read only partition for demo account's home directory. Of course, depending on the control panel being used, there might be some files owned by demo account scattered outside the home directory, those files need to be read only as well.