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:
/scripts/chownpublichtmls/scripts/enablefileprotect
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
ADVERTISEMENT
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
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
Jan 6, 2015
We have several sites on one server. When I use the plesk wordpress manager it some how updates the User and Group permissions on folders and files with the username apache. How or what command do I run to get it to use the site username and psacln. It appears something maybe in an update or whatever has caused this issue. This only occurs with wordpress and drupal updates from the plesk interface.
What command can I run just to update the permissions to update all users to a username and psacln security settings on folders and directories.Running Plesk 12.0.18 and CentOS7
View 1 Replies
View Related
May 13, 2008
I have a question regarding running Mediawiki on my server and the user/group "nobody", which seems to be causing problems as far as file permissions go.
When a file is uploaded via mediawiki, it's assigned the group/user of "nobody"
This means I can't change the file's permissions via ftp or ssh, unless I login as root and chmod/chown the file back to the proper user.
View 8 Replies
View Related
Aug 27, 2007
I'm making an account for my friend, and I just want him to have access to /var/www/hishomedirectory/
I want him to be able to do anything in that directory (rename files, delete, copy, move, upload, etc..), but not able to use apt-get or play with settings. Not a superuser either.
View 3 Replies
View Related
Dec 18, 2008
After some yum updates last night one user and group called xfs were created on my dedicated server. Does anyone know what this group/user is used for?
View 0 Replies
View Related
Jul 23, 2009
I've finally made the leap to upgrading from shared hosting to a VPS. I'm still setting up my configuration before I point the domain name to my new server, but for now, I have the site mirrored and I'm ensuring that all is running well. For the most part, everything is working, but I am running into a few permission issues...
As of right now, all the files in my htdocs directory are owned by root, and I am logging into my FTP client as root. However, I'm pretty sure that this is not how I should be doing this, because I need to allow write permissions to some folders from my php scripts.
I was just curious, how do you you guys set up the users and groups on your linux servers (running apache). I'm just not certain of the best way to handle it. Should I make a new FTP user, and if so, what group should it go in? Should that user be the owner of all the web files? When is it safe to set folder permissions to 777?
View 4 Replies
View Related
Apr 30, 2007
I have this command to change "user" ownerships from "owner" to "owner2".
find ./ -user owner -exec chown owner2 {} ;
Is there a similar command for GROUP ownership or even better, a combined command?
View 5 Replies
View Related
Aug 7, 2007
LXadmin seem to have a preset disk quota limit to users/groups, even root!
So, how do I change these disk quota limits? There isn't an option in the LXadmin control panel either.
View 1 Replies
View Related
Jan 23, 2009
I'm using Plesk on my server and its a pain in the @** to create FTP users. So I found this article on adding chrooted FTP users. I successfully added a user, but would like to change the path now, how can I do this?
View 2 Replies
View Related
Jun 8, 2005
Anyone know the commands to change a MySQL user's password via ssh?
I found stuff for changing the root password, and tried to adapt it for the user, but it didn't work.
View 12 Replies
View Related
Jul 2, 2014
I believe the product we are using is Parallels Operations Automation.
We have a customer that we want to be able to give the right to unlock user accounts. The only way to do this seems to be to enable "Billing" as one of the privileges. Unfortunately this gives them more access than we really want to. Is there some trick we can use to give this user only these rights?
View 2 Replies
View Related
Jan 19, 2015
We have a website under httpdocs/. We can change/delete files with a ftp user : "ftpold". All is ok. We must create another ftp access for another company which can access only to httpdocs directory (not to logs/, error_docs/...).
So we have create a ftp access in Plesk. But with this ftp connexion, we can not update/delete files ou update rights.
So we decide to change rights on the files/directories under httpdocs with the new ftp access :
httpdocs# chown -R ftpnewsacln *
The is no errors but the files:directories are always with the old ftp user :
httpdocs# ls -l
ftpold psacln ... libs/
ftpold pscln ... index.php
Why ? How can i create another ftp access ?
View 3 Replies
View Related
Mar 31, 2015
I try to change a mysql user password, but I get an error message:
Fehler: attribute name is invalid: status
Search for related Knowledge Base articles
I'm running12.0.18 Update Nr. 39
View 1 Replies
View Related
Mar 20, 2014
I have a Customer with 22 subscriptions associated. Can I assign some of these subscriptions to another customer?
View 2 Replies
View Related
Nov 20, 2014
It's possible to change the main plesk user "admin" I would chenge the "name" only because chrome make me crazy with password stored
How can I change from panel or from everywhere the "admin" username without any problem of course in the plesk functionality
View 4 Replies
View Related
Jul 28, 2014
I changed the Administrator view to Power User. How to change back?
View 5 Replies
View Related
Jul 10, 2009
When a newsletter tool or really any PHP script sends mail from a domain account it says it is from 'nobody@domain.com' on behalf of the sender. if we send from the kensingt account it says it is from 'actualuser@server.domain.com' on behalf od sender. I would like to change this so it says it is from 'no-reply@server.domain.com' on behalf of sender and I have looked through the whm and cpanel settings and cannot find a place to do this.
View 5 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
Aug 3, 2007
Is it possible to change apache2.conf service name with httpd.conf ?
View 2 Replies
View Related
Feb 12, 2007
I am trying to change permissions on my perl and CGI files to execute them for my website.
I have a laptop I am using as my server. It has Windows Server 2003. I have Apache, and Active Perl. IIS is disabled. My website loads just fine.. I just cant change the permissions or find out how.
How do I change the permissions on my perl and cgi files?
View 7 Replies
View Related
Nov 28, 2013
We have a SAP portal and Apache server in our environment. The URL which users see is like http://portal:50000/irj/portal in some cases after login, from a program we are calling the url http://portal:50000/irj/portal/alias1 in the same window. In this case the URL changes in explorer.
I am trying to find out if I can mask the url and keep it the same as http://portal:50000/irj/portal, but Apache to send calls to SAP server as http://portal:50000/irj/portal/alias1, so the end user cannot see the URL change.
View 1 Replies
View Related
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
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
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