Web Hosting Talk







View Full Version : QUESTION about Simple CP


YUPAPA
10-31-2002, 07:58 PM
not planning to try it, but i have a few questions when looking at the source code...


1. do you have to change ownership to all files to root when u run the script? cuz if you don't, the script can't add user account since 'root' is the only user that can add users...

If I change all the scripts to root, then i think apache will not work with root user...

2. ALSO, i see the script edit shadow or passwd file, is this dangerous? If something screw up, the whole system passwd will mess up and you can't even login as root again.


I am writing one for my computer school project, but I use named pipe to do all these. :angel:

Chachi
11-01-2002, 10:00 AM
You're writing a control panel for your school project?

kantlivelong
11-01-2002, 06:09 PM
umm no idea sorry

YUPAPA
11-01-2002, 08:18 PM
Originally posted by Fazel3
You're writing a control panel for your school project?

Yes, what's wrong? :stickout

I found out that root doesn't work with apache if I use suEXEC...

Chachi
11-02-2002, 08:16 AM
nothing wrong, good luck Yupapa!

YUPAPA
11-02-2002, 02:00 PM
It is just a small one...

It has a web-based filemanager, change passwd, disk usage detail.. AND the admin panel can monitor proccess, edit/delete user and FTP Accounts, etc...
+ a sign up script...

this thing is smiliar to the homefree script (http://solutionscripts.com/vault/homefree_pro/), BUT mine requires root access and can create FTP accounts...

I think the homefree script runs as apache, so I think all accounts created by the script are owned by the same user (apache)...

dbzgod
11-02-2002, 03:01 PM
Good luck YUPAPA with your control panel. Maybe someday it'll be the next CPanel/WHM :P