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

Re: Ok I messed up some permissions. Help me change the owner of folders and files



hi ,
Ben

 For your remote connectio install ssh using rpm if u r new with
linux. and if u r ip of remote place will be fixed than use tcp
wrapper it will added one more security
using /etc/hosts.allow and /etc/hosts.deny use that...if u ip will not
be fixed than enable in vi /etc/hosts.allow
sshd:ALL and restart xinted service
and check 

telnet 0 22
it will show u ssh is running...
about 

For your apache mean if u r running apache user test user than file in
Document directory it must rwx or rx rights...simple thing...
got ..if u want to set default perminssion use  UMASK command...

regards



On Sun, 05 Sep 2004 13:16:21 +0000, Ben Sewell
<ben_sewell_007 hotmail com> wrote:
> Hi,
> I have a webserver on my red hat 9 system, and after doing some changes to
> /etc/passwd to get something to work I got something not to work. PLease
> bear with me, I don't remember exactly what I wanted to get fixed as I've
> been very busy, but I know I edited the group IDs to be like this, again not
> sure of exactly what it is now but just to get an idea:
> pectabyte:802:802::/var/www/:bin/bash
> Basicly I have a user- pectabyte who has their website stored in
> /var/www/pectabyte. As a result of editing /etc/passwd, the files are now
> owned by apache when before they were owned by pectabyte. My question is,
> instead of simply copying the files and folders on to a new folder and
> making the relevent changes to httpd.conf, can I just change the folder
> owner instead, since everything under /var/www/pectabyte is just for that
> user? Basicly I'm phyisically remote from my system and won't be there for
> another 3 months so I have SSH setup and working so this is how I want to
> solve this problem. I'm using putty as my SSH client.
> 
> Thanks for your assistance,
> Ben
> 
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search!
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 



-- 
Vipul Ramani
linux2000in gmail com
linux2000in yahoo com
~~~~~We Know HOW NetWorkS ~~~~~



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