RE: permission
Posted in 1998
I have a biassed view of the value of this suggestion since I wrote the
code, but I suggest going to the IIUG web site and pulling out the code
under the name 'utils_jl' from the database administration section of the
software archive at http://www.iiug.org. It includes a script to check the
permissions on the various files, and another to set the permissions.
You say you have checked the permissions against the files list - did you
also check the owner and group? I'd assume so, but I need to ask because
the error messages indicate that the permissions are wrong. The fact that
it works as informix and not as johndoe strongly suggests that either the
files which should be owned by root aren't owned by root, or their
SUID-ness is missing, or is not working.
One other thing that could screw you up is if the software is on an
NFS-mounted file system which is mounted without SUID privileges - a
security measure, but in this case, a misguided security measure.
Yours,
Jonathan Leffler (jleffler@visa.com) #include <bother.ms-exchange.h>
----------
From: Maria L. Wilson[SMTP:m.l.wilson@larc.nasa.gov]
Sent: Tuesday, April 07, 1998 8:40 AM
To: informix-list
Subject: permission
Hi all,
I have informix 7.23 on Solaris 2.6 and am having the following
problem...
As user informix, I can access any tools installed and do any of the
onstat, oncheck, etc commands with no problems.
As a user, I can access tools fine (dbaccess, esql, etc..) but if i try
to do any of the onstat commands or onmonitor i get the following error:
onstat: Shared memory: permission denied.
when I try to get into onmonitor, it says nothing just returns my
cursor.
I have checked permissions in bin and compared them to the onlinefiles
file but they all look the same. I also tried to re-install IDS, CLI
and Connect in the order
1.CLI - 2.5
2.IDS - 7.23
3.Connect - 7.23
and I'm not getting anywhere.
Any help would be appreciated.....
Maria
--------------------------------------------------------
Maria L. Wilson 757.766.8265
Computer Sciences Corporation 757.766.2571 fax
NASA Langley Research Center m.l.wilson@larc.nasa.gov
3217 North Armistead Ave. http://www.larc.nasa.gov
Hampton, Va 23666
--------------------------------------------------------
If there is no God, who pops up the next Kleenex?
-- Art Hoppe
--------------------------------------------------------