Ubuntu Servers :: Hide A Database From The Root User?

Jun 5, 2011

Does anybody know if it is possible to hide certain databases from the root user in MySQL?

It may sound stupid, since the root is the root and all that, and it may feel strange but it kind of adds a level of abstraction which I want to give the "root user", and I want to avoid going down the route of creating a new mysql instance on the server.

I had wondered if there is some kind of 'hide' parameter for a database or whether it is possible to change the root username to something else (e.g. 'realroot') and then create a new user 'root' with all the same privileges (except those on the hidden databases).

View 7 Replies


ADVERTISEMENT

General :: Application Running As User Foo Log Onto Database As (database) User Foobar?

Jan 5, 2011

I am writing a simple application that will run as user foo (i.e. Ubuntu user foo).However, the application will connect to my database as (database user foobar). IIRC, database users have nothing to do with Linux system users - but I just need to clarify that.So can an app launched to run as user 'foo', connect to a database as user 'foobar'?

View 1 Replies View Related

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

General :: Why Does "ls -a" Hide Some Existing Directory From The Root User

Sep 2, 2010

Today I found something really interesting (at least to me) on one of our test servers:

I can change into an existing directory from my actual working directory using a relative path, but that very same directory is not listed when using ls -a.

Here is the shell session (as root):

$ pwd
/you/are/here
$ ls -a
. .. <-- Note: "somedir" is not shown to root
$ echo $CDPATH

[Code]....

I had checked the automount thing mentioned by Gilles, but as I had changed to somewhere and issued a mount|grep somewhere there were no output.

Here is the lsattr and strace output as suggested: [URL]

View 8 Replies View Related

Ubuntu Servers :: Run Init Scripts As Non-root User?

Feb 9, 2011

I wrote a custom init script for a java application. The script resides in /etc/init.d and follows the convention for the init.d scripts. However, the script runs the java process as root. I need these processes to run as a non-root user. Is there a way besides using sudo or su in the script (seems inelegant), to run the script as a specific non-root user? Perhaps using a .conf file in /etc/init or a daemon wrapper? What would the Ubuntu way of doing this be?

View 2 Replies View Related

Ubuntu Servers :: Administrator User Id Doesn't Seem To Have Root Permissions To Create Directories?

Mar 30, 2010

Need help maintaining permissions across multiple directories. Have Ubuntu 8.04 Hardy Heron. O/S installed, updated and running with no problems.Why is it that my administrator user id doesn't seem to have root permissions to create directories? I am trying to setup hosting 3 separate websites and therefore create 3 separate directories to manage all associated files for the 3 websites. Also, I am attempting to read through the tutorials located at:URL...

View 4 Replies View Related

Ubuntu Servers :: Access Denied For User 'root'@'localhost' / Set The Password During Installation Process?

Dec 14, 2010

I have installed mysql-server, but i have no access. I have set the password during installation process.

Used command:
mysql -u root -p
error message:

[code]....

View 8 Replies View Related

Software :: Change A Process Running In Root-user To Non-root User ?

Oct 28, 2009

Is It possible to change a process running in root-user to non-root-user by setting suid / uid / euid / gid etc... I so please instruct how, when and wat to set in order to change a process running in root-user to non-root user

View 4 Replies View Related

Ubuntu Servers :: Setup The MYSQL Server - Error: 'Access Denied For User 'root'@'localhost' (using Password: NO)'

Mar 26, 2010

I set up a servber on my local machine, & also PHp - Both working fine.I'm trying to load up MYSQL i have installed it, & *can* start/stop the server. however if I do anything else with it, I get this error :-

Quote:

root@gordon-desktop:~# sudo mysqladmin -u root -h localhost password MYPASSWORD
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

Query :-

1) How do I know MYSQL is actually active ? (apart from the message it says that its statrted (or stopped).

2) Is there a way to

a) Find out the usernames that are recorded on the MYSQL server ?
b) set / RESET the 'root' username (I know MYSQL root user is different to PC root user)
c) anything else I can do on the PHP / website code to see if MYSQL is working

(as yet, no tables / databases etc have been set up - as I can't get past this error message - I get the same error when setting up a database.)

Ps I did allow my usermname (when logged in to ubuntu) to edit / create files in the /usr/www/ directory (but it is still OWNED by 'root' - that directory)

View 4 Replies View Related

Ubuntu :: Hide User From Login Screen Lucid?

Oct 29, 2010

I actually got my boss to let me put Ubuntu on a laptop for a client and it works like a champ. I have it all setup but there's one thing I'd like to do on it. I have an admin user (the one I created during the install) and a desktop user (for the person receiving the laptop). I would like to hide my admin user from the login screen, so when it boots up all the user sees is their name. If I need to help them with something/install software I can choose other and login as my admin user.

It appears this was rather easy in 9.10 and previous but I can't figure out how to do it in 10.04. To be clear, I want to edit the user list, not disable it entirely. I've tried changing the user id, I found a post that claimed IDs less than 1000 were not shown on the login screen, this proved un-true in my case.

View 9 Replies View Related

General :: Hide A User From The Who Listing?

Sep 3, 2011

Is it possible for a non-root user to hide themselves from the output of who/w, so that they can be logged in without other users seeing it? I think that the file /var/run/utmp might have something to do with this, but it's not writeable by non-root users (permission 644). I'm fairly certain that this can be done by a non-privileged user (because someone told me that they were able to do so), but I don't know how they did it and can't ask them right now.

View 1 Replies View Related

Ubuntu :: Hide The Bubble With The Name Of The User - Mini-applet Session?

Jun 2, 2010

How can i hide the bubble with username in the upper bar, right hand? It is linked to the shutdown icon but i want to keep that icon but hide the bubble with the name of the user.

I was searching but i didn't find anything, only how to hide all the mini-applet session (shutdown icon included).

I attached an image with what i am saying.

url

View 2 Replies View Related

Fedora :: Configure GDM To Hide Individual User ?

Jul 1, 2011

This sounds like an old topic. I have an active user account in my system that I don't want it to be listed in GDM greeter. In the past (prior to Gnome 3), it can be achieved by configuring the "Exclude" option of the "greeter" section in the Custom.conf or by creating the user account with UID smaller than MinimalUID. But it seems the same old trick does not work for me in Gnome 3. I have tried the "Exclude" option with no effect at all. Using the UID approach only solves my problem partially, as it only exclude it in the GDM greeter during "switch user" but it still being shown in the list in the initial greeter after a cold boot.

Anyone know how to do this in Gnome 3?

View 4 Replies View Related

General :: Hide File Systems From User

Jul 23, 2009

I was wondering if it was possible to hide the File Systems from a user. So when then browse through folders or choose to save something the default folder is their "home" folder. I am using SAM Linux distribution and don't want my users to be able to screw anything up! I use thunar as my file manager and was just wondering if it is possible?

View 12 Replies View Related

Fedora :: Exclude - Hide A User From GDM Logon Window

May 31, 2010

If you need to to exclude one or mode user from your gdm login window you must edit "/etc/gdm/gdm.schemas" and add the user you want exclude from the <key> "greeter/Exclude" (near the other user in <default></default>)

When Fedora could have a gdm config again?

View 5 Replies View Related

OpenSUSE Install :: Hide User Account In Login Screen?

May 8, 2011

When opensuse boots up and shows the login screen. The login screen shows all configured user accounts to select from.

How would I hide these accounts for opensuse 11.3 with KDE and opensuse 11.4 with LXDE.

View 1 Replies View Related

Ubuntu Servers :: How To Hide Extensions

Jun 1, 2011

I installed Ubuntu 32 bit non server edition a while ago and set up mysql, phpmyadmin, apache2, php5 and also proftpd my site is up and running perfectly but one thing I want to do is to hide the file extensions like for example at the moment it shows[URL]

View 9 Replies View Related

Ubuntu :: Create An OpenBiblio Database User?

Dec 8, 2010

I'm attempting to install OpenBiblio to give it a test drive. I'm having trouble with one of the first steps within the openbiblio install guide. The step is dealing with MySQL in creating user priveleges to the db created. The step is:

Create an OpenBiblio database user. To do this, login to MySQL under the admin userid and run the following SQL command, substituting obiblio_user and obiblio_password with the userid and password of your choice.

mysql> grant all privileges on OpenBiblio.* to obiblio_user@localhost
-> identified by 'obiblio_password';

When I run the "grant all priveleges" command I receive a syntax error. I've spent some time googleing and it comes up with the same command. There has been a few variations attempted such as 'obiblio_user'@'localhost' but still recieve a syntax error.

View 2 Replies View Related

Ubuntu :: Root User Directory Does Not Exist, Root Password Not Recognised?

Oct 26, 2010

I no longer have access to my root desktop. On a session I attempted to change the root username but i apparently assigned it a wrong directory that does not exist. When I rebooted with my new root username, i was instead recognised as a simple user (no root privileges). I tried the console to change to "old" root but root password is not accepted and there is no way to access to sudoer files. it seems that inserting a new username requires root privileges and i am back to square one. Simply logging with old root username and password after restart gives me a blank screen with nothing on it and cannot even reboot.

View 9 Replies View Related

General :: Did Not Find Any Option For Root Password For Root User In Ubuntu 9.10?

Mar 2, 2010

i used opensuse 11.1 ...there is option for root user to create password for root...but for ubuntu i did not find anything like that...so how can i create root password....or how can i use root

View 1 Replies View Related

CentOS 5 :: User Database Cannot Be Read?

Mar 21, 2009

This situation after a mains power failure took server down.Log oonto server with root, go to Admin > users and get this message:" The user database cannot be read. This problem is most likely caused by mismatch between /etx/password and /etc/shadow or /etc/group and /etc/gshadow. The program will exit now."

View 2 Replies View Related

Ubuntu Servers :: Testing Website - How To Hide PHP Code And Files

Mar 12, 2010

I have just set up my web server for the first time in Linux (used to be Windows 2003). I have a web site [URL], could someone with experience please check this web site to see if the PHP files are hidden (and therefor my PHP code can't be seen). If they can be seen then how do I hide the PHP files?

View 6 Replies View Related

Ubuntu :: Root-User : Unset The Root Password?

Oct 14, 2010

A friend of mine has told me to set a root password and use root (f.e. switching to su in terminal and work with root rights instead).Is there any way to unset the root password? I know how to use sudo now.

View 9 Replies View Related

OpenSUSE Install :: Get Root Privileges On User Account Without Using Root Login?

Feb 5, 2011

i am having problems with privileges i have created a new user with my name, but i cant get root privileges on it. i need the same privileges as the root profile.

View 9 Replies View Related

General :: Root Logins Are Not Allowed \ When Try To Login As Root, After Logging Out As User, It Does Not Allow?

Dec 2, 2010

i just installed linux mandriva 2009. i set password for root and created a user account. when i try to login as root, after logging out as user, it does not allow me and gives the error "root logins are not allowed". even it does not show the root account. if i try to go to root from konsole terminal using su root, it allows to enter as a root but when i try to start the GUI with startx it gives error.not sure what to do and why i can't see my account in GUI mode

View 5 Replies View Related

Software :: Hide Email Header (Internal IPs Of Servers)

Feb 21, 2011

I' trying to hide the email headers that are send through postfix. I need to hide the internal IPs of servers.

View 2 Replies View Related

OpenSUSE Network :: Root User Has Access To Remote Folders/files Of Any User?

Jan 21, 2010

Prelude: OpenSUSE 11.2 (2.6.31.8-0.1-desktop), installed Novell client 2.0 SP2 (novell-client-2.0-sp2-sle11-i586.iso).

I found that if any usual user is logged into a NDS-tree, then _local_ root has full access to user's network shares, including the user's home directory located on remote Netware-server. Is it by design or
have I missed something? Nevertheless in windows local admin has no access to network resources mounted of any other user. If you runas shell (as admin) then admin in principle can't "see" network shares which were mounted (connected) by other users - they are accessible ("visible") per session.

View 3 Replies View Related

General :: Change Password For Newly Created User And Root User Using Graphical?

Jan 15, 2010

I am using mint 8 for a 2 weeks, I am noob to linux but I like Mint than any other linux distro which is great alternative to windows. I have a problem regarding password reseting.

1. My laptop automatically get logged in without asking user name and password.

2. I tried to change password for newly created user and root user using graphical way but it does not work.

2. I can perform administrator task using only OEM user which is default inbuilt user of mint.

How can make my laptop to ask password when mint get booted? How to change password for other users?

View 1 Replies View Related

General :: How To Change Default Database For One User In MySQL

Sep 12, 2011

Though this might seem like a [URL] question at first glance I don't think it is. I have a mysql database on a server at work. Every time I log in to execute a query, I have to manually select the one database I want from the one database I have, which is a waste of time. Is there any way for me as an end user to set a default?

View 2 Replies View Related

Server :: Manage Mail User Information In Database?

May 3, 2010

i'm trying to use the database that was used by vpopmail and vqadmin with postfix and dovecot. By setting up dovecot to use mysql, i can query username and password for authentication but how do i create a user and edit its information in the database? Poastfixadmin only use database that was created along when installing it.

Any viable option aside from recode postfix to meet my criteria?

View 1 Replies View Related







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