[CentOS] How to Retain Ownership on webdir

2010-09-03 Thread James Corteciano
Hi, I have this webroot /webdir/ with 2775 permission so that any created file/directory by apache inside of /webdir/ will be 'users:webusers'. However, I noticed when the apache created a new files (fileB) / directories (dirB), the ownership becomes 'apache:apache' and the sgid has gone for /webd

[CentOS] Open source tool like CPanel

2010-07-28 Thread James Corteciano
Hi All, Any could suggest open source tool like CPanel that could do the following? -User access control *user will be able to modify specific virtual host config file. Example is /etc/httpd/conf.d/domain.com.conf *user will be able to upload files to the specific webroot (example only /var

Re: [CentOS] Antwort: umask not functioning with cp command

2010-06-23 Thread James Corteciano
wrote: > centos-boun...@centos.org wrote on 23.06.2010 13:31:56: > > > James Corteciano > > Gesendet von: centos-boun...@centos.org > > > > 23.06.2010 13:32 > > > > Bitte antworten an > > CentOS mailing list > > > > An > > > &g

[CentOS] umask not functioning with cp command

2010-06-23 Thread James Corteciano
Hi all, $ umask 0002 $ mkdir test $ ls -ld test drwxrwxr-x 2 user user 4096 Jun 23 19:04 test/ $ls -ld content drwxr-xr-x 2 user user 4096 Jun 23 19:29 content $ cp -r content test/ $ls -ld test/content drwxr-xr-x 2 user user 4096 Jun 23 19:29 content My question is, how can I make content dire

Re: [CentOS] NFS - Permission Denied

2010-06-17 Thread James Corteciano
Hi Boris, [r...@server]# ls -ld /nfs/iso drwxrwx--- 2 root apache 4096 Jun 18 00:46 /nfs/iso Regards, James On Fri, Jun 18, 2010 at 12:36 AM, Boris Epstein wrote: > On Thu, Jun 17, 2010 at 12:17 PM, James Corteciano > wrote: > > Hi All, > > > > This is the s

[CentOS] NFS - Permission Denied

2010-06-17 Thread James Corteciano
Hi All, This is the settings of my NFS server (192.168.10.55) /etc/exports: /nfs/iso 192.168.10.0/255.255.255.0(rw,sync) >From the remote host, I mount it correctly. But when I write/create files/directory inside the mounted nfs

[CentOS] Logrotation with retention period

2010-05-26 Thread James Corteciano
Hi All, How can it be done it logrotate configuration that I wanted to have the logs in six (6) month retention period? I have the following logs and directories of mysql. [hostname]# ls /var/log/mysql/ 2010.05.01/general.log 2010.05.01/error.log 2010.05.02/general.log 2010.05.02/error.log 2010.0

Re: [CentOS] How to log separate files or directories for centralizing SysLog server ?

2010-04-12 Thread James Corteciano
gt; Tomas > > > Mon, Apr 12, 2010 ve 04:12:39PM +0800, James Corteciano napsal: > > Hi Tomas, > > > > I can't use syslog-ng because it's not included in RHEL package in DVD > and > > company policy not to use non-rpm. I can use rsyslog and foun

Re: [CentOS] How to log separate files or directories for centralizing SysLog server ?

2010-04-12 Thread James Corteciano
urce(s_sys); destination(d_net); }; > > Hope it helps, > Tomas > > > Mon, Apr 12, 2010 ve 03:49:53PM +0800, James Corteciano napsal: > > Hi All, > > > > I have three server. server0 is centralized logging server, server1 and > > server2 are remote clie

[CentOS] How to log separate files or directories for centralizing SysLog server ?

2010-04-12 Thread James Corteciano
Hi All, I have three server. server0 is centralized logging server, server1 and server2 are remote client servers. How can I properly configure the syslog in server0 to log the two servers in different separated files/directories. Example, server1 will be logged at /var/log/syslog/server1.log of s

[CentOS] SELinux restorecon does not work

2010-04-06 Thread James Corteciano
Hi All, I have this following issue in SELinux. I did what instruction said but the security context has still never changed. Do I need to create local SELinux module? I hope anyone could help me out of this. Thank you. --- # sealert -b

[CentOS] How to boot netinstall.iso linux in Xen guest domU

2008-07-11 Thread James Corteciano
Hi All, How to call the downloaded bootable /data/centos/netinstall.iso file in my guest domU file to boot for network installation? Please correct this line if it is wrong. disk = [ 'file:/data/centos/netinstall.iso,cdrom,r', 'phy:/dev/server/xerv2-disk,xvda,w', 'phy:/dev/server/xerv-disk,sda1,

Re: [CentOS] Wheel and YUM!!

2008-06-26 Thread James Corteciano
Hi Harry, Try to implement sudoers and add the group "wheel" inside from it (you can modify it from /etc/sudoers or using visudo command). In that way, all your users can use yum command. Cheers, -james On Fri, Jun 27, 2008 at 12:51 PM, Harry Sukumar <[EMAIL PROTECTED]> wrote: > Dear All > > >