or try something like this
Mini How to for creating user web space
You want to allow your users to have public web space accessable by
http://www.your_domain/~user_nameDownload
http://khunjarnet.com/downloads/user-web-space/e-smith-user-webspace-0.1-3.noarch.rpm(watch the line wrap)
# rpm -ivh e-smith-user-webspace-0.1-3.noarch.rpm
answer yes to the question
# mkdir /etc/e-smith/skel/user/home/public_html
# pico /etc/e-smith/events/actions/user-create-unix
find the line that says
chmod 0700, "/home/e-smith/files/users/$userName";
and change to
chmod 0755, "/home/e-smith/files/users/$userName";
^x to exit and save
You can put a default index.html in /etc/e-smith/skel/user/home/public_html
that will appear in the users webspace when the user is created
Note: this will only create user webspace for new users. Existing users
will need to be created by hand.
Jon