Re: RE: Multiple Residency & Shared Memory
Posted in 2000
Now I'm totally confused.
Surely all the shared memory is created with the owner/group of whoever ran oninit.
What do you mean "Change database ownership" ?
onmode -k
su - another_user
oninit???
And, why would you want to do that?
It means adding another_user to group informix - which is bad for security.
>>> "jim lowry" <lowryjim@hotmail.com> 06/05/00 03:47pm >>>
>I could be mistaken, but I thought what Mark was trying to say was that
>you couldnt identify the shared memory by the user who started the
>database.
>
>$ ipcs>IPC status from /dev/mem as of Mon Jun 5 08:28:28 CDT 2000
>T ID KEY MODE OWNER GROUP
>Message Queues:
>q 0 0x4107001c -Rrw-rw---- root printq
>q 1 0x001d8828 -Rrw-rw-rw- root dsadmin
>q 2 0x001cd3b0 -Rrw-rw-rw- root dsadmin
>q 3 0x001c0570 -Rrw-rw-rw- root dsadmin
>q 4 0x001d2680 -Rrw-rw-rw- root dsadmin
>q 5 0x001a9190 -Rrw-rw-rw- root dsadmin
>Shared Memory:
>m 1 0x52574801 --rw-rw---- root informix
>m 2 0x52574802 --rw-rw---- root informix
>m 3 0x52574803 --rw-rw-rw- root informix
What you show is correct... why? Because your database
wasn't started by another user. Change database ownership
to another user id, then start the database as that user.
I'll bet if you then run ipcs|grep user_name you'll see it.
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com