Apache :: FTP Accounts And User Permission?

Feb 20, 2014

My apache VPS is having a minor problem.

Using SSH, I gave permission to my FTP username with code below:
chown -R user:ftpgroup /home/site

But my WP theme needs to set up that user I use is rewritable and use this code:
chown -R www-data:www-data /home/site

since using a php code to check WP user and it shows www-data.

MY PROBLEM: I need my FTP to able to write cause i use plugin to create backup and change plugin. My theme also need for both to work.

I can't seem to make run together. I can change group or FTP as long as I can have m WP working.

View 2 Replies


How Do I Create A User With Limited Permission

Oct 5, 2007

I used to create a user by using /usr/sbin/sysinstall in freebsd, but how do i limit that user so he can't view important files (like: dhcpd.conf, rc.conf....) or can't do such as command pico, nano, vi ...etc?

All i want is that user can log in to my freebsd box and then he will ssh to other local servers, I just want my freebsd box is a bridge/gate for him to ssh to local servers which behind that freebsd box. Is it possible ?Thanks.

I know that i have to create a group with has only ssh permission but how do i do that?

View 2 Replies View Related

Give User Permission To Compile (cpanel)

Feb 15, 2008

I'd like to give my username on my server permission to access g++ to compile custom C++ programs. I know I can just su - and compile as root, but I really don't like that.

What do I need to do to allow ONLY my username permission to do that?

View 4 Replies View Related

Lock Tables Permission Keeps Getting Revoked From User(SQL)

Jul 12, 2007

every 4 or 5 days the lock table permission keeps getting revoked, does anyone have anything that can point me in the general direction of what would cause this? The only thing i can think of is a cpanel layer 2 update has occured a few times during hte periods where the permission is revoked

unfortunately whenever it happens it results in my SQL backup script failing

It's a VPS host running CentOS btw.

View 0 Replies View Related

Blocking Perl In User Accounts

Nov 26, 2008

I would like to dissable from executing perl scripts on user accounts.

For example,now user can upload perl script for example with name script.pl:

#!/usr/bin/perl -w
print "Hello World!";
I would like to block it via mod_security - I don't want to allow running perl scripts with .pl extension at all. Is it possible for Apache 1.x?

View 1 Replies View Related

PHP Block Shell Scripts On User Accounts

Apr 15, 2007

Is there any way to totally block php shell scripts on users accounts, i don't mean like the java shell in cPanel i mean a php shell script like the kind frequently used by hackers...

View 11 Replies View Related

Disk Quota Not Working For User Accounts

May 5, 2009

I am having Virtuozzo vps with cpanel/WHM installed.I have created some accounts in it by setting disk quota . Now the issue is : some users are using space over the allocted one ,when i use the command quota -u (username),i can see that the users are used the space over the allocated one and they are still allowed to upload file . How to fix this issue ?

View 6 Replies View Related

Cpanel Not Allowing Access To User Accounts

Jul 11, 2008

On a new server we have running CPanel, we have manually created a user account and when i try and log into mydomain.com/whm with that username/password it doesn't let me.

Now my second thought is that I should be logging into mydomain.com/cpanel rather than mydomain.com/whm but I get a 404 for /cpanel.

If i'm logged in as root, i cannot transfer into the user account cpanel either...

View 5 Replies View Related

Plesk 12.x / Windows :: Additional FTP Accounts 530 User Cannot Log In - Home Directory Inaccessible

Jul 10, 2014

I don't know why, but only one server with Plesk 12 if i create additional ftp accounts not working. i receive error:

530 User cannot log in, home directory inaccessible.

If i use principal FTP account works fine.

View 5 Replies View Related

Apache :: Don't Have Permission To Access Product On Server

Jun 23, 2015

I am running wordpress for ecommerce using httpd-2.4.12 on my Ubuntu Server 12.04.5. The problem I have is some unknown clients received the message that reads "You don't have permission to access the product on this server" when they were trying to access to the Product page to make a purchase.

When I tested on all of my devices, I did not have any issue with accessing to the page. I know that the page is a secure page with https.I've looked into the apache logs file and found nothing that's related to 404 or 403 errors there.what I have configured for my httpd.conf.

View 4 Replies View Related

Apache :: How To Change Bulk File Permission From All Folder

Sep 14, 2013

Recently I moved my WordPress website to another server, After moving my site I see that my all files permission set to 664, for that I getting many error, now I want change all files permission 644, but problem is I have many subdomain with this site, is there any way to make change all files permission to 644 with SSH or any other way?

View 1 Replies View Related

Apache :: No User Or Group Set

Apr 3, 2014

I have opensuse 13.1 on my server and i folow this tutorial: URL....but as you see this is for opensuse 12.2, but i manage to run everythink only apache2 server.Well i get this error, but i run vhost.No user or group set - set suPHP_UserGroup..Well apache2 is rurning as every other thinks on server only web page dont show and i get error: Server error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

View 1 Replies View Related

Apache - Run Virtual Host As User

Jun 5, 2009

I've run into a wall trying to run apache with multiple websites allowing users to use FTPd to manage files.

I'm running FreeBSD 7.1 on Apache 2.2.x

The issue is that Apache runs as www:www but FTPd writes the files as username:client. When performing some scripts that edit back-end files, this obviously can cause errors.

The data for each directory is stored in /home/username/www

I looked into some apache directives I could use. I tried putting User and Group directives into the vhost configuration for each vhost, but that did not work. I even found the perchild module and it looked like it can do the job but was a bit scared and turned off by the fact that it states it is beta at the top of the page. (I cannot link to it because I do not have enough posts.)

View 2 Replies View Related

Apache User Authentication Logic ...

May 11, 2009

I'd appreciate if you can point out some links, or if anyone is willing to help me for a fee, we can talk about it.

I have a web application called MyApp

- Each MyApp user has 5gb hosting, and a web interface to manage their files.

- Therefore MyApp user gets a user account on linux machine and has access to only one directory /repo/usr/<user_id> and nowhere else. (suexec?)

- If that MyApp user creates a subdomain from any folder inside his home folder (he can do that using web interface), that folder is readable by www-data user not writable.

- That myapp user is able to mount/unmount his own ftp drives using curlftpfs.

- In short, users can only mess with their own files and they have no access nor rights to any other file that is outside of their home dir.

In short, this is a kind of hosting company server setup. Right now, we will have to manage all this from -only- one powerful server.

View 2 Replies View Related

Why Should Us Change The User/group Of Apache

Jul 27, 2008

APache is running under the "nobody" user/group as default in CPanel servers
as a suggestion I should change it to another user/group to improve security!

But in CPanel servers its hard to do that because you must edit some scripts and files to prevent the backing to nobody when running some scripts such

PHP Code:


or when create a new account

Some sites says "the secret of changing the user/group is in the UID/GID of nobody < 100 !"

so I found a solution :

1 - delete the user/goup nobody

2 - recreate it with GID/UID > 30000

3 - run /scripts/chownpublichtmls

so the question is that solution improve security or i should change the user/group to another one! like "www"?

View 3 Replies View Related

PHP: Uploading As Apache User, And Chmod 600

Aug 12, 2007

I've recently moved to a new server in which I don't have root, so bare with me.

For some reason when I upload a file with 'move_uploaded_file($tmpName,$new_filename)', it seems to work fine - but when I check it, try to download it (http or ftp), or change the permission - I can't, because its set to 600 for some odd reason, and owned by the user Apache is setup on.

View 5 Replies View Related

Apache :: Mod Rewrite Based On User Name?

May 7, 2013

I am using apache with subversion and need to redirect a request for a file to a different file based on the user that has made the request. It appears that the URL for the requested file could be changed on the fly using RewriteMap; however, is there any way to get the User (as typically given in the request_rec available to apache hooks) making the request in the program used?

View 2 Replies View Related

How To Limit Apache Clients On One User On The Cpanel

Apr 28, 2008

i have 2 questions

1 ) iwant limit one user on the cpanel limit on the apache conections?

2 ) i want limit one user not use download manager for site clients

View 4 Replies View Related

Soft Or Tool To Manage Apache User

Apr 20, 2007

Here is what i have:

- Webserver for member to download which is using user/pass from .htpasswd to allow anybody can see file or download.

What i need:
- any software(code) can show me who log in and when, how much they download, how many time did they login. ---> this to prevent account from to be shared between many people.

- some sort of tool or software can allow me to add new user/pass quick since i am manuallly adding new username/password encrypted to .htpasswd file.

what software to use( or to buy if not so exspensive).

View 3 Replies View Related

Apache :: Exclude User Agent From Rewrite

Jan 27, 2014

I have a rewrite for mobile clients :

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} "android|blackberry|iphone|ipad|nokia" [NC]
RewriteRule ^$ https://www.myudomain.com/Mobile [L,R=302]

My mobile site is HTML5 written and old phones doesn't support it. How to exclude f.x. old nokias - like 6220 and rewrite old phones to /Mobile_old?

View 1 Replies View Related

Apache :: How To Detect Where User Has Come From A Specific Website

Nov 1, 2013

configure Apache server to handle users requests using condition based on where he come from so i can redirect him . what i need if user came with from site start with xn--* redirect him to virtual host and if he came from any other link then go to another virtual host

View 2 Replies View Related

PHP MKDIR OWNED Apache User / Group

Feb 17, 2015

When a php framework try to create a new folder, it's created with apache: apache owner instead the user and group owned the root folder.

the PHP safe_mode is set to off.

View 3 Replies View Related

Apache 2.2 DocumentRoot /home/user/public_html Not Exist

Dec 18, 2007

I am getting this error and I just installed apache 2.2 and added a user using useradd user. When i added into the virtual which is:

NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot /home/user/public_html
ServerName user.com

It does not find the public_html folder I added. Is this a permissions problem? or something else?

View 7 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved