Can an application running as user foo log onto a database as (database) user foobar?

0

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' ?

skyeagle

Posted 2011-01-05T23:14:53.847

Reputation: 187

Answers

0

Absolutely, the linux login user and the database user are two separate entities.

Linker3000

Posted 2011-01-05T23:14:53.847

Reputation: 25 670

Thanks for confirming this. I thought so, but just had to make sure! – skyeagle – 2011-01-05T23:29:31.530