How To Give File Ownership Privileges To External IP Address
Aug 4, 2008
I have a software program on my home PC that writes to files on my remote VPS every few minutes.
The only way I can accomplish this is to CHMOD the files to 777 and give the whole world write priveledges.
Is there a way I can give my external (home) IP address write priveledges to certain files on my VPS without CHMODing them as 777?
I run the latest version of cPanel and WHM on my VPS.
View 6 Replies
ADVERTISEMENT
May 19, 2009
I have it setup and have a user created that can upload files to my website.
The problem that I am running in to is that the files that this user uploads are owned by him not the cpanel website user. Thus when I try to view the page in my browser I get a server 500 error since the site is set to only serve up pages that are owned by the cpanel website user.
When using FTP in the same way we did not have this problem as the file that was uploaded would automatically be owned by the cpanel website user.
View 0 Replies
View Related
Apr 8, 2008
FreeBSD 7.0
Apache 2.2
PHP5
Mysql 5.1
I have been battling this for a while. A user will setup a CMS like joomla, e107, etc and every time the CMS changes files either with user interaction on the website or the admin changing things in their cms admin web page, apache takes ownership of the files.
I have tried installing suPHP, FastCGI, and most recently suexec. I am not having any luck with this. I really don't know what I am doing with these recent additions but meanly going on suggestions. Does anyone know of a walk through to fix this permission problem? Anyone with some good advise? Surely not everyone is having to write a script to chown each user's dir and run a cronjob every 5 minutes.
View 8 Replies
View Related
May 22, 2009
if i can lock a file from being downloaded or viewed in ftp editor even if i give some one ftp access?
View 3 Replies
View Related
Oct 30, 2008
Is there any way to redirect a subdomain on a machine A to point to an IP adress on a second machine B.
View 11 Replies
View Related
Jan 7, 2015
We are trying to use a configure settings for an external SMTP server within Plesk (Windows 2008 R2 Plesk 12) but are receiving the following error message:
Error: Unable to encode IDN email address 'username': email address is invalid
We are trying to use a username for SMTP authentication as we do not have the option of using an email address with our current SMTP relay provider.
Is there any way around this so that we can use a username rather than an email address?
View 2 Replies
View Related
Dec 6, 2008
when i run CSF security check i get
Check /tmp ownershipWARNING/tmp should be owned by root:root
the /tmp seems to be set to nobody:nobody
Is it a Security Risk.?
Other options are set fine on /tmp
Check /tmp permissionsOK
Check /tmp is mounted as a filesystemOK
Check /tmp is mounted noexec,nosuidOK
running centos + cpanel and Apache 1.3.x
View 6 Replies
View Related
Jan 11, 2009
Does anyone here know who owns Rackedge NL? Are they a member of this forum? I am having a real bad problem, that certainly defy's logic and reason and i can’t seem to get any replies from either member McRox or the Support team.
Rather than posting wildly around the net about them and this issue, I would prefer to first ensure this isn’t just a big misunderstanding, so any details anyone can offer on this.
There is only 3 people i have been in contact with in this company
McRox (Member of this forum)
Tony Deeman (Support)
John de Groot (Sales)
View 12 Replies
View Related
Oct 19, 2007
I have a server from ServerBeach Linux Powerline 2600. CentOS5.
It even has webmin on it.
But this is what I'm trying to do, trying to add a user so the user can use apache/php/mysql/cron and cannot look into other directories like /etc
SB is taking sometime, so I thought to post here as well.
I know it's a linux admin thing, but I'd like to get some quick help as well..
View 12 Replies
View Related
Jun 11, 2009
i got a unmanaged vps and i do not know why i often see folders and files ownership belonging to apache instead of myself and i have to manually reset ownership via directadmin file manager or ssh in to do it....can anyone advise me how to fix this problem as in anything i can do to stop all these apache ownership problem...
Another thing about directadmin, i select all folders and files at once trying to reset ownership but i always get an error and have to reset ownership one by one wasting time....
View 3 Replies
View Related
Nov 21, 2008
One of my customers wants me to change the ownership to nobody and group to apache in a directory created in the home directory of his website. I want to know whether doing so will pose any security problem. Also is there any advantage of changing the owner to nobody and group to apache?
View 11 Replies
View Related
Apr 11, 2008
On a cPanel server, running RHEL 4 I got the following error (from cpanel logs) while associating an user with a DB from the cPanel admin:
Fri Apr 11 17:02:47 2008 info [Cpanel::Mysql]: Not updating privileges for user (reseller login and no password specified in ~/.my.cnf) at /usr/local/cpanel/Cpanel/Mysql.pm line 268
Cpanel::Mysql::updateprivs('Cpanel::Mysql=HASH(0xa4a8768)') called at /usr/local/cpanel/bin/mysqladmin line 88
Fri Apr 11 17:02:47 2008 info [Cpanel::Mysql]: Not updating privileges for user (reseller login and no password specified in ~/.my.cnf) at /usr/local/cpanel/Cpanel/Mysql.pm line 268
In fact, from cPanel interface all privileges are added OK, but the MySQL itself is not connecting at all due to this error.
I already tried:
/scripts/mysqlup --force
/scripts/upcp --force
/usr/bin/mysql_fix_privilege_tables -u root --password=PASSWORD
View 2 Replies
View Related
Aug 26, 2007
how do i backup mysql user privileges?
this will only backup the databases:
mysqldump --opt -u root -p --all-databases > data.sql
i would like to backup mysql user privileges too.
View 1 Replies
View Related
May 15, 2007
I'm Running (just) Direct Admin On a Centos 4.3
Due to a typo at the comand line as Root, ive manages to change the owner ship of unknown mounts of files.
The command that was processed (Before it was complete)
chown -R reseller:reseller /
I managed to stop the process ctr+c
and these were the last files to see fly past.
The last one in the list is where it stopped at.
Code:
chown: changing ownership of `/proc/11566/task/11566': Operation not permitted
chown: changing ownership of `/proc/11566/task/11566/fd/0': No such device or address
chown: changing ownership of `/proc/11566/fd/0': No such device or address
chown: changing ownership of `/proc/11572': Operation not permitted
chown: changing ownership of `/proc/11572/task/11572': Operation not permitted
chown: changing ownership of `/proc/11572/task/11572/fd/4': No such file or directory
chown: changing ownership of `/proc/11572/task/11572/cwd': Operation not permitted
chown: changing ownership of `/proc/11572/fd/4': No such file or directory
chown: changing ownership of `/proc/11572/cwd': Operation not permitted
chown: changing ownership of `/etc/X11/X': No such file or directory
chown: changing ownership of `/dev/core': Operation not permitted
chown: changing ownership of `/usr/local/include/libpng/libpng12':
Too many levels of symbolic links
At the moment the server is still running and it seems only to be log in issues with Direct admin. All user / reseller / Admin accounts can no longer log in.
Error after logging in : Unable to determine Usertype user.conf needs to be repaired
No images or nothing
View 4 Replies
View Related
Feb 3, 2015
I'm trying to set permission for text file which is exists in Program Files (x86)MyFile directory. File should be accessible by psaadm and not accessible for psacln accounts. I've set permissions for psaadm Full Control Allow and for psacln Full Control Deny.
In my PHP script I'm checking file using is_readable function and no matter which user trying to read this file function always returns true (admin or customer account). I tried to find solution in Web but without success so I'd like to ask you about it.
Additionally, I've tried to create Plesk DiskSecurity XML with privileges settings. After Apply this settings privileges are correctly set for my file, but customers still can read this file.
Is there any other way to deny access to this file for customers and resellers?
View 2 Replies
View Related
Jul 3, 2014
I'd want to create a user and set custom privileges using the standard mysql-client, ie. create user and grant privileges, but I know that sometimes Plesk overwrites my config files for other services.
View 2 Replies
View Related
Nov 7, 2009
I have to mass change the ownership of accounts and I find "Change Owner of Multiple Accounts" tedious.
I found a bash script but I'm not sure if this works
Quote:
#!/bin/bash
IFS="$"
cd /var/cpanel/users
if [ $# = 2 ]; then
replace "OWNER=${1}" "OWNER=${2}" -- /var/cpanel/users/*
else
echo "USAGE: ./${0} <old reseller login> <new reseller login>"
fi
If that works, how can I tweak it so that the change in ownership of accounts will be based in the hosting package and not in the old reseller account?
View 3 Replies
View Related
Jun 28, 2008
When I have checked the 'Current CPU Usage' in root WHM there was a stranger IP with root ownership and command: whostmgrd - serving xxx.xxx.xxx.xxx
Also there was my IP with this ownership and command, like every time I am viewing the WHM.
I have blocked this IP with apf immediately, and the root password is changed.
Does it mean someone was in root WHM?
I have a dedicated server with cpanel on centos 4.6 / chkrootkit and rkhunter / all of server's softwares are up to date / compilers disabled for users / php open base dir is enabled and my users do not have SSH access.
View 2 Replies
View Related
Aug 9, 2008
Am I correct the r1soft does not preserve permission/ownership?
View 5 Replies
View Related
Feb 16, 2015
I need a MySQL user that has the privileges to add routines and triggers. The default users that are created by Plesk do not have these rights. How would I be able to add these rights to a specific user, or all users, that doesn't care.
I already logged in over SSH as a root user:
Code:
mysql -uadmin -p`cat /etc/psa/.psa.shadow`
Then I tried to update the rights of the users:
Code:
mysql >UPDATE db SET Create_view_priv = 'Y', Show_view_priv = 'Y', Create_routine_priv = 'Y', Alter_routine_priv = 'Y';
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
This didn't work. So I wanted to add super privileges by doing this:
Code:
mysql> GRANT SUPER ON *.* TO 'user'@'%' IDENTIFIED BY 'mypassword';
Query OK, 0 rows affected (0.00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
But also not of any effect. What's left to do?
View 4 Replies
View Related
Sep 1, 2013
I recently upgraded the Plesk to 11.5.30. Now I am not able to create new MySQL databases. I am getting below error.
Code:
Error: Connection to the database server has failed because the supplied account does not possess administrative privileges: Access denied for user 'admin'@'localhost' (using password: YES)
MySQL admin details are correct in plesk database, also the admin has full privileges. I am manually able to create databases, users from mysql prompt. It's just the plesk interface that's giving error.
Code:
C:Program Files (x86)ParallelsPleskMySQLbin>mysql -u admin -p*************** mysql
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 68
Server version: 5.1.68-community MySQL Community Server (GPL)
[Code] .....
View 4 Replies
View Related
Oct 13, 2014
run a command on /var/git to set rights and onwer without being cautious enough.I have run chown git:git .* -R which did not only run direction downwards the tree but upwards as well :-(
Any way to reset permissions and ownership for the directories back to standard?I tried /usr/local/psa/bin/repair already. Did lot of the fixes, but not all is in line yet.
View 1 Replies
View Related
Apr 11, 2008
I am trying to make a free shell service, and i was wondering if it was possible using a FreeBSD VPS, with CPanel, and additional IPs. Or would a dedicated server be required to do that?
View 11 Replies
View Related
Feb 10, 2015
I'm build Plesk Panel for Linux and Presence Builder, I don't want my user can upload their website to hosting via File Manager. How can I do it...
View 2 Replies
View Related