Ubuntu Servers :: Access My Phpmyadmin - Wrong Permissions On Configuration File - Should Not Be World Writable ?
Mar 16, 2010
I encountered a problem when I am trying to access my phpmyadmin the error came up: Wrong permissions on configuration file, should not be world writable!
View 6 Replies
ADVERTISEMENT
Jul 10, 2011
I had an old windoz 2003 server running a few recreational web sites. I've grown tired of all the hacking attempts, FTP floods, etc. Ok.. I've grown tired of windoz period.When I set the server up, I had the operating system on one physical drive and stored all of the web files on a separate physical drive just in case I ever wanted to make some changes to the operating system.in my adventurous ways, I've dumped windoz and installed ubuntu 11, 32 bit server edition on this machine. It is running fine from what I see on the server side. The first problem I've noticed is when even attempting to navigate to localhost through the server's web browser, I get a permissions issue.
So... off to the drive where the httpd.conf file points to. This is the second physical drive. When checking permissions and attempting to change them to the correct ones for the folder, I can't change them. I've tried through the GUI and the terminal as root. Neither way will change the permissions.I've stepped back and checked the permissions on the physical drive the files are stored on. I am having the same issues with the drive itself. How in the world can I change the permissions either on the drive or the folder? Is there something I should do as far as the drive's mounting?
View 3 Replies
View Related
Jan 21, 2011
My website, IsleDiscount.com, is hosted on a virtual server with pair.com. Pair.com offers only one SFTP account on regular shared server and to set up mutltiple SFTP accounts, Pair.com moved me to a virtual server (VQS1), which I believe is not a shared server solution, but Pair representatives were able to create multiple SFTP accounts on this VQS server.
However, when I asked the representative to restrict access of this additional SFTP accounts to a sub-folder, I got the following warning email: confirm you understand this will make your entire web directory world-writeable. This will increase the chances of a security attack. If you do understand this, you can go ahead and execute the command yourself. The command below will accomplish both commands in one.
[Code]...
View 1 Replies
View Related
Nov 22, 2010
I'm still getting my head around setting things up on my web server, I've configured php to run off of Fast CGI, rather than mod_php, due to better memory consumption. I've managed to get my virtual hosts configured to work with fastcgi, ensuring the following options are set:
AddHandler fcgid-script .php
FCGIWrapper /usr/lib/cgi-bin/php5 .php
Options +ExecCGI FollowSymLinks
I tried adding those settings to /etc/phpmyadmin/apache.conf, but this doesn't seem to work. Whenever I go to www.mydomain.com/phpmyadmin , I just get a 403 Forbidden Error. This used to work no problems on mod_php.
[URL].. because the alias is set so that my virtual hosts can access it through /phpmyadmin. There is probably something basic I am missing here.
View 1 Replies
View Related
Jun 26, 2011
Looking for some help writing a simple script on my dapper server. I want the script to play a short 5 second wmv sound file. So I can tell another program to run the script. What player can or should I use and how can I set permissions on the file and script so my program has access to it . Total newb here
View 2 Replies
View Related
Oct 11, 2010
Being a system administrator i came across a statement as "Excluding temporary directories /tmp and /var/tmp, no root owned files should be in world writable directories"While the above statement may look straight forward but how would i check if there are any such directories in the distribution?
View 14 Replies
View Related
Jan 26, 2011
My situation I recently installed Ubuntu 10.04 LTS Server on a virtual machine. I installed apache2, php and mysql-server. Several vhosts I sat up are running fine and I can also connect to the MySQL server using the mysql command-line client. I now want to setup PhpMyAdmin to allow the vhosts owners to administrate their DBs. I installed the package using:
Code:
apt-get install phpmyadmin I answered the questions and accepted the creation of the phpmyadmin database. The install finished successfully. I did a small modification to the main website vhost to access it easily:
Code:
Alias /phpmyadmin /usr/share/phpmyadmin
[Code]...
View 1 Replies
View Related
Feb 13, 2011
I am able to access phpmyadmin via my web browser using either my local ip followed by /phpmyadmin and by using the same layout with localhost. If i use my DNS name provided by no-ip which i bound to in apache2 i am able to get to the "It works!" page with the domain name but if i use /phpmyadmin after it, it will tell me that there is no such directory.
View 1 Replies
View Related
Jul 6, 2011
I'm setting up a home web server using LAMP that I want to use to access files and practice coding, but I am very new to Linux and web servers. I currently have it so I can access phpMyAdmin and the test pages locally through my internal IP, but whenever I try to access it through the external IP I get this router management console that I don't know the password or username to. I know my router login and password and it's not the same as that. I've forwarded port 80 and when that didn't work I tried changing /etc/apache2/ports.conf to 8080 and I forwarded that port on my router with no luck too.
It doesn't seem to matter if I have any ports forwarded, though, it still brings me to the same screen regardless. Also, I have set up a static IP on the server by modifying the /etc/network/interfaces file. I've attached a screenshot with the actual router management console screen. I won't have access to the server until later, but, if you require any output from the server I will be sure to post it as soon as I get home. I'm not using ubuntu for my webserver, but debian instead because ubuntu server had a whole bunch of problems with my PCMCIA network card. Ubuntu suggestions should work just fine, but I just thought I should clarify.
View 9 Replies
View Related
Oct 15, 2010
I installed ubuntuserver edition 10.10 on my old p3.Installation went fine and i installed LAMP and SSH along with it.*everyhting i do past this point is via LAN on my laptop using root account on putty or winSCP.*I installed phpmyadmin, loged in with root, duplicated the root acount and gave the duplicate any host (%) access. Next i created an account with access only to the users database (for use in my php to check username and password).Next thing i did was change the apache2 config 000-default to disable indexing.After that i changed the php.ini file to allow 6GB uploads (for movies).Rebooted... and thats where the problems start.I CANT:Acces phpmyadmin with any acount.Login on my website.I CAN:login to mysql using root.I HAVE:Checked if the mysql database and table for websitelogin still existed, they do.Checked mysql useracounts and they are still there.So something changed after the reboot, because it was working fine before i did.
View 9 Replies
View Related
Oct 27, 2010
I am trying to set up a server for a client and they want remote access to the phpmyadmin program on the server with a dyndns
I've spent the past 2 hours on google with sadly no luck
So how can i go about setting this up?
View 1 Replies
View Related
Jan 3, 2011
One server is a dedicated MySQL server. After upgrading that one to Ubuntu 10.04 (from an ancient Suse 9.2), both servers are running Ubuntu 10.04 LTS.I have another server that I use to administer the database server via phpMyAdmin. However since the upgrade it is not able to connect. I get an error #1130 Cannot log in to the MySQL server. The same happens if I try to connect remotely from the command line with: mysql -u root -h 129.79.137.121 -pI'm not sure if this is an iptables/ports problem or a configuration problem on the MySQL end or something else entirely.I've searched and tried the suggestions I've found in various places but none seems to have fixed it.
View 2 Replies
View Related
Jun 12, 2010
I have been trying to set up phpmyadmin for a while now, but I just cant seem to access it with the browser.
I yum installed phpmyadmin. In my /etc/httpd/conf.d/phpMyAdmin.conf I have:
When I visit [ip]/phpmyadmin I just get a 404
I've reloaded apache, checked the phpmyadmin config file, and everything seems fine, I just get constant 404.
View 2 Replies
View Related
Jul 3, 2011
i setup a localhost in my system. but am not getting access to the phpmyadmin by entering the user name and password i entered at the time of set up. the /etc/phpmyadmin/config-db.php file is shown below.
<?php
##
## database access settings in php format
## automatically generated from /etc/dbconfig-common/phpmyadmin.conf
## by /usr/sbin/dbconfig-generate-include
[code]....
when i access http://localhost/phpmyadmin/ , the login screen appears but entering the username and password as in the file gives the error #1405 cannot log into mysql server.
View 3 Replies
View Related
Jan 30, 2010
i have fedora 11 installed in my laptop and apache server by default. after starting httpd and mysqld services i was able to access localhost through browser.(e.g. [URL]). before installing phpMyAdmin everything goes right. after installing phpMyAdmin it created problem in localhost. now typing [URL] it opens joomla site but without images and without intending of content. when i type [URL] in browser it ask for user name and password. i already provide user name(root) and password(my_root_password) in /etc/phpMyAdmin/config.inc.php. but it doesnt open.
View 1 Replies
View Related
Oct 13, 2010
how to configure vsftpd server, to enable users upluoad files with right permisions. I create user like this:
Code:
cp /etc/apache2/sites-available/default /etc/apache2/sites-available/<newUser>.domain.com
a2ensite <newUser>.domain.com
/etc/init.d/apache2 restart
[Code].....
So, in summary, how to make ftp to create files with permisions e.g. +rwxrwxr-x or smth more clever..
View 4 Replies
View Related
Feb 26, 2010
I've been working on the setup of a FTP server on my Debian system for the whole afternoon. But I can't get it straight! Normally I get it working in just a second, but it's been a while I guess.
I installed only proftpd-basic and it's default dependencies. Should be enough right?
My configuration files are as follows:
I created the user zeitgeist, gave it a password, group and a homedir. Group of the user is nogroup and the homedir is correct with the 755 permission. My port 21 for FTP is open I tested it with nmap -p 21 [ip-address].
My Filezilla client tells me that at first he is connecting, then the connection is established, And then the connection is closed by server.
View 1 Replies
View Related
Nov 19, 2010
In my logs for Apache I have lots and lots of failed attempts for incorrect incarnations of [URL]. None of them are anywhere near my alias for the index.php but yet phpmyadmin is broken. Is there away I can mess up robots like this. Send IP's that create multiple wrong page requests on my server back to their own IP address maybe? I would then just set thresholds to decide how strict to be. I did try fail-to-ban before but it is cryptic. I don't have it on this particular server.
View 2 Replies
View Related
Jun 30, 2011
I have Unbuntu 2.32.1 Build date 14/4/11 I have Samba Installed I also have 8 Sata drives all with NTFS most of them have a lot of data on them. All my drives were used on an old windows 7 system, and now I wish to have them in a server setup.
My clients are all windows users apart from 1 witch is an Unbuntu desktop user. The problem I have is access rights or permissions none of the clients can gain access to my NTFS shares. I am using a GUI on my server (Gnome) as I am not very clued up with command lines in Unbuntu just yet.
View 9 Replies
View Related
Mar 3, 2010
I am setting up a new ubuntu server, and I am quite new to linux. This server will be used as code repository for a project I am going to be working on. I plan to setup 3 groups for users: dev, test, doc
- for various developers, testers and documentation users.
I would like to setup the following permissions on the main code repository directory:
dev - write permission
test - execute permission
doc - read permission
public (anyone outside these groups) - deny all access
I am unsure what chmod setting to use, or if this is even possible in ubuntu.
View 2 Replies
View Related
Sep 6, 2010
set up incremental backups with crontab. I just discovered that tar is not actually incrementing the tar files. I first created the tar files, then in crontab I have:
Code:
cd /; tar -cpf --incremental --exclude-from=/root/ExcludeFromTar.txt mnt/PATRIOT/bkp/home.tar home
I only just discovered that this creates a file whose filename is "/--incremental". I also tried using tar's -G switch instead of --incremental:
[Code]....
View 2 Replies
View Related
May 6, 2010
I have apache2 running on my computer. I want to change the permissions for /var/www/ so that I can edit the files without a problem. Right now I can use the gksudo command, but I'd like to be able to have all the files available when using an IDE like eclipse.
I've read in several places that
Code:
chmod 755 /var/www
will do, but if I'm not mistaken that would give read/write access to anyone. I'm not in a production environment, so I'm not too worried about security, but I'd like to give anyone else as less permissions as possible. Would this be possible?
View 2 Replies
View Related
May 11, 2010
on certain folders on a samba-server I would like to allow everyone everything.(Note: This refers to the filesystem-permissions. External security is cared for by samba. No problem here)That means: every local user and every remote user should be able to fully create, delete and modify every file in certain folders and all subfolder of these folders. This should include file contents and timestamps and permissions. And it should include modifying files owned by someone else, again meaning create/delete/modify/timestamp etc.
View 9 Replies
View Related
Oct 10, 2010
I mount a partition to a directory and ls -liah tells me that everyone has read/write/execute permissions on the whole thing, but I try to save a file into the partition and I get an access denied error. First of all this doesn't make sense because ls is telling me I do have access.
Then it gets weirder. I run sudo chown -R me:me directory. The command exits without error, but then when I go and look at the directory again with ls, it still shows up as owned by root and I still have the same problem. This is particularly strange because I am still able to change permissions normally in the operating system filesystem. It just won't work on the mounted partition.
View 1 Replies
View Related
Feb 23, 2010
I have a recently setup my first linux server (hardy) and am having problems with the permissions for a log file being changed. I believe this is caused by syslogd, but am not sure how to correct it. Bacula will report it is unable to start a backup because it is unable to open the log file (/var/lib/bacula/log) "permission denied". After changing the owner from syslog to bacula, the backup will resume. However, the following day I encounter the same problem because the owner of the log has been changed back to syslog.I see where the permissions for logs are altered in sysklogd, but I am not certain how to make bacula exempt or if this is the right approach.
View 1 Replies
View Related
Jun 9, 2010
Is it possible to have a text file somewhere that contains a list of all users that are allowed access to a given folder? This would be fantastic for file servers on a network.
View 1 Replies
View Related
Feb 8, 2011
Is ACL the best way to ensure the permissions of newly created files? Basically I have a directory: /data/department
I've done chmod g+s on it so the group is correct on new files but I want new files to also have 775 permissions so the rest of the group can access these files fully. Currently they are created with the default 755 (which I want still every where out side of /data/department ).
View 9 Replies
View Related
Mar 16, 2011
Trying to setup a file server for a small group of users and I am in need of help with file permissions with Ubuntu Server 10.10.
I have a single share mapping (ex /media/hdd1/share1). There are several folders that everyone will need read/write/edit permissions and there will be a few folders that all users will need read permissions and a couple of users will need read/write/edit permissions.
I have tried several things and as long as I create the folders/files through ssh using sudo, the permissions are fine, but when the users create file and folders through their computers (mixture of Windows and Mac) that user becomes the owner and no one else can write or edit those files.
I am using SAMBA and though it was a config issue with that but I logged each user directly into the server with the same issue.
I tried sudo chmod 777 /media/hdd1/share1 but all newly created files have the above issue.
View 1 Replies
View Related
Jun 30, 2011
What is recommended way to set permissions of folders VAR/WWW for use with apache in 11.04? I would like to let the user "ABC" have access to read/write the website files in this directory. How should permissions on these files be set?
View 2 Replies
View Related
Jul 8, 2010
I own a particular file on a Linux system. I would like to give 2 groups (accounting, shipping) read access and only read access, and 3 users(Mike, Raj and Wally) write access and only write access. How can I accomplish this?
View 3 Replies
View Related