Ubuntu Servers :: PhpMyAdmin Installation - Don't Use "sudo" Because Logged In As Root

Nov 25, 2010

I'm trying to install phpMyAdmin on my Ubuntu 10.10 server. I type the following command (I don't use "sudo" because I'm logged in as root, I know its not safe):

Quote: apt-get install phpmyadmin and go through the installation. I allow the installation to configure the database, and I chose the correct server (Apache2), when it asks for passwords, I use the same password that I use for the rest of the server (i.e. it is the account password for root, sudo, and my account). Once the installation is complete, I try and access it from a computer on the same network. I type "http://***.***.*.*/phpmyadmin" and I get the message saying the directory isn't there. I go into Webmin to confirm that the directory isn't there, and it isn't.

My questions are (1) Why isn't the phpmyadmin directory in my Apache Server root? (2) Is it installed with apt-get, if so, where? (3) How do I know what server I selected for it to install to? (4) What do I need to do to get it to install correctly?

View 9 Replies


ADVERTISEMENT

Ubuntu Servers :: Root Has No Privileges To Create Database In Phpmyadmin?

Apr 11, 2010

I logged in phpmyadmin as root (with password that I just created in terminal), old databases are there but I have no privileges to create a new one.

View 1 Replies View Related

Ubuntu Servers :: Error: Root@www:/etc/ldap# Sudo Ldapadd -x -D Cn=God,dc=example,dc=org -W -f Ppolicy.ldif

Apr 8, 2011

I'm trying to add a password policy into OpenLDAP 2.4 on 10.04 and it's driving me out of my mind. I keep getting this error: root@www:/etc/ldap# sudo ldapadd -x -D cn=God,dc=example,dc=org -W -f ppolicy.ldif Enter LDAP Password: adding new entry "cn=default,ou=policies,dc=example,dc=org"ldap_add: Invalid syntax (21)additional info: objectClass: value #0 invalid per syntax

[Code]...

View 3 Replies View Related

Ubuntu Installation :: Root Or Su Or Sudo Password Missing?

Sep 1, 2010

I upgraded from Super Ubuntu 2008.11 to Ubuntu 10.04.1 online ( my mistake ). Now I can boot into Ubuntu 10.04 with 2 kernel options and a failsafe. However I can only boot as a user ( rejean ) and not as su or sudo. My other problem is that I don't have a gui. I would like to do a Code:sudo dpkg-reconfigure xserver-xorgbut there is no password that works.What should I do?

View 1 Replies View Related

General :: Sudo Cd /root Gives Sudo - Cd - Command Not Found

Jan 6, 2011

Kernel 2.6.21.5, Slackware 12.0

Code:

Code:

On the other hand

Code:

So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.

View 3 Replies View Related

Ubuntu Installation :: Sudo Grub-install --root-directory ?

Nov 1, 2010

If I boot on a live-CD, then enter in a terminal the following commands:

sudo mount /dev/sda1 /mnt
sudo grub-install --root-directory=/mnt /dev/sda
sudo umount /mnt

..does it install Grub-pc in /dev/sda1 ? even if Grub was already installed in /dev/sda1 ? Furthermore, are the 3 above commands equivalent to the below ones ?

sudo mount /dev/sda1 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /sys /mnt/sys[code].....

View 4 Replies View Related

Ubuntu :: Lost Root Privileges In Phpmyadmin?

Oct 30, 2010

Ive done something, Im not sure what...... I was trying to backup my mysql DB so I can reformat that server and install different server OS, then reinstall mysql and restore the DB... Well, somewhere in this mess I did something and now I get DBI connect failed : Access denied for user ''@'localhost' to database 'mysql'CONSTANTLY! I cant see any of my SQL DB's anymore... I just need to get the privileges back that Im missing, back up these DB's and get on with this already!

View 5 Replies View Related

Ubuntu :: Can't Cd To Root Acount /home In Terminal - Sudo Cd /root Fails?

Jul 25, 2011

can't cd to root acount /home in terminal - sudo cd /root fails?

View 3 Replies View Related

OpenSUSE Install :: Revert The Changes Or Change The Permissions Again To Root:root Or Make Sudo Work

Aug 10, 2011

Accidentally I changed the ownership of all the directories under / to my own instead of root:root. Now I am unable to use sudo and many bad things are happening. Is there a way to revert the changes or change the permissions again to root:root or make sudo work ?

View 3 Replies View Related

General :: CentOS / Sudo Doesn't Accept Root Password But Logging In As Root Works

Apr 9, 2010

I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?

View 1 Replies View Related

Ubuntu Servers :: No Servers Work Unless Logged In?

Feb 5, 2011

I have the system setup and working, but I want to put it in a corner and forget about it. Problem is, nothing starts running unless I'm logged in. And if I log out, everything stops again.It's running a LAMP server and has VNC and SSH servers as well. I want all of that to start without having to log in. That way I can remote reboot without worries and connect and login with either VNC or SSH.Everything seems to have an entry in /etc/init.dIs the way it's acting normal behavior? It's a fresh install, then I installed everything I needed from the repos.

View 7 Replies View Related

Debian :: Accents Just Work When Logged As Root

Mar 10, 2011

I can use the accents (tilde, acute, ...) normally when I am the root, but when I log into my user account they re not recognized in most applications (opera, emacs, amsn, python idle,...) although they work in other applications (terminal, vim, iceweasel...). I guess that would have a simple solution. Something is right in the root account and wrong in my user account, but I cant figure it out. My layout is USA International (with dead keys).

View 4 Replies View Related

Fedora Security :: Shutdown When Root Is Logged In?

Oct 2, 2009

I am using Fedora 10 .Generally to update I open a virtual console by pressing Ctrl-Alt-F2,login as root and give the "yum update" command.Then I continue using my graphical terminal for other tasks from the 'non-root' account..Now my room-mate comes uses my 'non-root' account to browse web for few minutes and then opens a terminal types "halt", ENTER and viola...! My root account seems to be insulted by a 'non-root' user!.When I am doing updates or other important work as root any silly user can just 'halt' my computer. Can somebody tell me how to set up my computer so that when root is logged in no other user can simply halt the computer.

View 3 Replies View Related

General :: Logged In As Root And Used Rm -r On A File Directory

Jul 22, 2011

I just logged in as root and used rm -r on a file directory, but is this the same thing as deleting it?

View 3 Replies View Related

Hardware :: External HDD Not Initializing Until Logged In As Root?

Feb 18, 2009

Fedora 9 and a maxtor 500gb external It seems i cant get the hd to initialize (not sure if thats the correct word for it) until I log in as root. I can see the icon on the desktop for it and everything, but when i double click on the icon nothing happens. It also doesnt appear in /media/. If I log out of the user account and log into root, all of the sudden i can open the icon in both root AND the user account. It also shows up in /media/. I'm not sure if its a permissions issue or something else.

ps: using ssh to log into root from another machine makes no difference though, only using X or whatever its called from the physical machine.

View 1 Replies View Related

Ubuntu Servers :: Cant Log Into Phpmyadmin/setup?

Sep 6, 2010

I had the brilliant idea to make my own web server since i had a silicon mechanics 1u server collecting dust. Ive got apache running. Phpmyadmin is installed but i cant get into the admin panel. When it asks for the user name and password no matter what i use it wont let me log in.

View 2 Replies View Related

Debian Configuration :: User Cannot Shutdown While Root Is Logged In

Jun 29, 2011

on my netbook I've tried to make possible for my user to shutdown without needing a password. battery could run low when I'm not in front of it. Editing sudoers has allowed my user to shutdown the system, but Gnome still prompts me for the root password whenever root is logged in too. That's usually the case, because to avoid entering the root password multiple times whenever I need elevated privileges and not wanting to cache the root password, I keep a Root Terminal always open.

View 6 Replies View Related

Fedora :: Can't Change Gedit Preferences When Logged In As Root (su)

Sep 22, 2009

Is there a way to fix this ? I need to be able to edit files with root privileges, not to mention that I don't want it to make any backups ( can be turned off ).

View 3 Replies View Related

Fedora :: Logged In As Root - What Is The Home Directory Pathname

Aug 23, 2010

Im logged in as root in Fedora, What is the home directory pathname?

View 2 Replies View Related

OpenSUSE Multimedia :: VLC Not Working When Logged In As Root User

Jan 31, 2010

some days back i have installed VLC player. It is working fine when logged in as any other user than root user but not when logged in as root user.

View 2 Replies View Related

Red Hat / Fedora :: Find Out Who Has Logged In To My Server Using The Root Login

Dec 15, 2008

How i would find out who has logged in to my server using the root login, does it store a log anywhere. im running fedora core 4.

View 5 Replies View Related

Ubuntu Servers :: Bind Phpmyadmin To Localhost Only?

Mar 18, 2010

Have basic LAMP setup on 9.10 box. I want to have a publicly accessible website AND I want to have phpmyadmin available. The only thing is I would rather not have the phpmyadmin interface available on the internet. I usually open a ssh port forwarded tunnel when I need to use phpmyadmin on this server. I want to add a directive to make phpmyadmin bind only on localhost. I have found the phpmyadmin config file in /etc/apache2/conf.d

phpmyadmin.conf -> ../../phpmyadmin/apache.conf

I have tried adding some LISTEN directives, but apache does not like my directives-- I am obviously not doing it right. I have looked for a bit on the internet and can't find out how to disable external access to a configured site in Apache.

View 2 Replies View Related

Ubuntu Servers :: Install Mcrypt For Use In PhpMyAdmin?

Jul 17, 2010

I am trying to install mcrypt for use in phpMyAdmin but am having some trouble. I apt-get'd the mcrypt-php5 package and it installed, but it seems to only function on the Apache Module version of php5 and not the CGI version. Both versions show the mcrypt extension installed in phpinfo, but in phpMyAdmin only one of them removes the error about mcrypt. Other extensions (such as cURL) which I installed with apt-get have worked, so I'm not sure why this one does not.

EDIT: I also compared the CGI php.ini and the apache2 php.ini and there were no differences there. I also confirmed that the php.ini file for the CGI version is loading from that location.

View 1 Replies View Related

Ubuntu Servers :: PhpMyAdmin On 10.04: Strange Configuration?

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

Ubuntu Servers :: Access Phpmyadmin Over The Internet?

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

Ubuntu Servers :: Cannot Access PHPMyAdmin From External IP

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

Ubuntu Servers :: Uninstalling The MySQL And Phpmyadmin?

Jul 29, 2011

The original issue started when i couldnt login to phpmyadmin. I noticed an error when installing it and when trying to login, my credentials that I supplied upon install failed. After ages of messing around trying to reset I decided to try and uninstall phpmyadmin and MySQL and start again. This has produced more issues as I uninstalled MySQL first and phpmyadmin asks for credentials that are in a database, which I have already deleted. This causes major issues trying to uninstall it. Anyway, I have used all these commands:

sudo apt-get remove phpmyadmin
sudo apt-get remove mysql-server
sudo apt-get remove mysql-common

Now I am trying to install everything again but having erros. This is what I have so far:

Code:

root@ks358041:/var/lib/php5# sudo apt-get install mysql-server-5.1
Reading package lists... Done
Building dependency tree
Reading state information... Done

[code]....

View 8 Replies View Related

Ubuntu Servers :: PhpMyAdmin Cannot Start Session Without Errors?

Feb 16, 2010

I get an error message that says phpMyAdmin - Error, Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

So I did some googling and found a post here {URL]... which speaks about resetting the ownership of the session directory. However I am wondering how I can find out what the owner if the directory is (if its root or admin or ...)

It's strange because it all worked fine just about two hours ago and I am not sure since I have the server automatically download security updates if there is something it automatically downloaded that caused this. Also how to make the server stop automatically downloading security updated?

View 7 Replies View Related

Ubuntu Servers :: No Access To Phpmyadmin And Website After Reboot?

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

Ubuntu Servers :: Phpmyadmin Remote Access Through Dyndns?

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







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