Custom SKEL file for Resellers?

Hello

I was wondering if there is a way to create a custom skel file for resellers in InterWorx 4?

Many Thanks

Hi

Here is the link for custom skel for resellers.

http://www.interworx.com/support/faq/how-to-customize-the-look-of-new-siteworx-accounts-by-editing-the-skel-file-and-directory/

I hope it’s what you were looking for but if your meaning change the nodeworx I would imagine it uses the same for administrators and resellers, and if so you need to create a new look and upload it to nodeworx.

I’m sorry if I have misunderstood what your trying to do.

Many thanks

John

Hello

Thank you for the reply , I can only see how to modify the SKEL on a global basis , my question is if is there anyway to make a custom SKEL for each reseller?

many thanks

Hello , I’m sure someone knows the answer to this , pretty straight up question… please help

Can event hooks be used after a reseller creates an account? does anyone know?

I would like to know this too
Thanks,

Hello

Still wondering about custom skel files for Resellers… In the meantime I worked out how to use event hooks to copy custom files to a reseller’s user’s home dirs. I’m posting what I did here in case anyone else could use it.

For the event hook to work it must be enabled in nodeworx->plugins you also need to create a file /etc/iworx-hooks.conf y with chmod 754 and belongs to root:iworx

iworx-hooks.conf should contain the following lines

# run my script after a siteworx account gets added
Ctrl_Nodeworx_Siteworx add /chroot/home/myscript.sh
(you call name/place this file whatever/wherever you want instead of myscript.sh)

set the appropriate permissions / ownership:
chmod 0770 and chown iworx:root myscript.sh

Yo must also allow iworx user as a sudoer:

run visudo

[I]include the following lines

[/I]
#Event Hook InterWorx
%iworx ALL=(ALL) NOPASSWD:SETENV: /bin/bash -p /chroot/home/myscript.sh
#Defaults requiretty

You can then create you own shell script [I]myscript.sh with interworx variables starting with iw_

[/I]you can script to copy the files you want for the re-seller you want on account create or whatever else you need to do.

The URL you posted doesn’t work :frowning:

Hi Interira

Sorry, it does appear to not (most likely due to forum update/https) but I think it just linked to this page

http://www.interworx.com/support/faq/how-to-customize-the-look-of-new-siteworx-accounts-by-editing-the-skel-file-and-directory/

Many thanks

John

It looks interesting

wow thanks

Awesome, grateful