Re: limitation of user a/c ( telnet service ) now drifted to webserving

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I want to use the command of chmod and chown config the limitation for a Web User account...
eg : /home/abc and /home/abc/html

Allow user "abc" read / modify / delete files under /html directory...
But can't modify / delete System files ( dot files ) under /home/abc directory...
Allow anyone they can read only the files under /html directory ( actually, www.abc.com )...

May be these operation steps ( sample ) are okey ?
1, chown root /home/abc

2, chmod 1775 /home/abc

3, chown root /home/abc/.*

4,chmod 775 /home/abc/html ( Read only on the Internet )

Edward.

Tim wrote:
On Tue, 2007-02-20 at 22:54 +0800, edwardspl@xxxxxxxxxx wrote:
  
If I want to config the web service, eg : http://www.abc.com, then the
actual location is /home/abc/html/All_of_homepage_files...
So, how to operator every web user account similar with above
setting ?
    

Some of what you want is getting lost in translation.  Are you wanting
different people to have their own files in there?  Different people to
edit common files?  One person editing the HTML files?  Something else?

An easy solution for users to have their own websites is for them to use
a "public_html" directory in their homespace, and to configure Apache to
allow userdirs.  They'll get a sub-directory off the domain:

e.g.  http://www.example.com/~john/
      http://www.example.com/~jane/

If you wanted each user to have their own domain name, that'd require
more configuration (DNS records, and the Apache webserver
configuration), then you could have addresses like:

     http://john.example.com/
     http://jane.example.com/

The "file permissions" thread is discussing Apache at the moment, you
might want to have a look at that.

  

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux