On Mon, 08 Jan 2001 20:19:58 Chad W. Skinner wrote:
>
>> >using samba to map the network drive to the user, each kid could have
>> >his/her own directory with his htmlk files there, & they would
>> be accessible
>> >from the main web page with just a link pointing them to the right
>place.
>
>
>SAMBA by default will give each student a home directory that is a share to
>the students home directory on the linux box. Apache also allows the users
>to have web pages that are stored in a special folder in the users home
>directory. Consequently, unless you want to change the folder names or
>locations the web services should work with little modification with the
>students placing their files in SAMBA shares. One thing to be aware of is
>that the default folder for web sites on redhat I believe is a dot file so
>SAMBA will hide it if windows is setup to hide system and hidden files. You
>may want to change this to a non-dot file to simply things a little.

On Red Hat systems the default is /home/username/public_html as specified in
the UserDir directive in httpd.conf.

The easist way to handle this is to add a public_html to /etc/skel with
permissions 755 before adding any user accounts. The new accounts will still
default to 700 for the user's home directory, but there should be a place to
change that default. I'm curious about this myself. I'll look into it and
report what I find. If all else fails, you can always do this:

cd /home; for userdir in `ls` ; do chmod o+x $userdir ; done

Tony
-- 
Anthony E. Greene <[EMAIL PROTECTED]> <http://www.pobox.com/~agreene/>
PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
Chat:  AOL/Yahoo: TonyG05    ICQ: 91183266
Linux. The choice of a GNU Generation. <http://www.linux.org/>



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to