- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: shared resource permissions
Operating System - HP-UX
1753328
Members
5055
Online
108792
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 06:01 AM
тАО08-01-2008 06:01 AM
shared resource permissions
One out of many servers has oracle database semephores and shared mem with no group permissions. i.e. ipcs -a shows --rw-------. this is causing a problem with a monitoring tool. the DBA's are under the impression these perms are controlled like environmentals (i.e. umask). they have approaced server admin to get this corrected.
is it possible to control (from an OS user's account) shared resources permissions? how is that done?
in the oracle database is there "settings" in the config, or user settings, thta would control this?
thanks
is it possible to control (from an OS user's account) shared resources permissions? how is that done?
in the oracle database is there "settings" in the config, or user settings, thta would control this?
thanks
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2008 09:23 AM
тАО08-01-2008 09:23 AM
Re: shared resource permissions
I see nothing on shmget(2) that says it looks at umask. So it seems if there are no group permissions it's on purpose.
(I don't know about shm_open(2)?)
>is it possible to control shared resources permissions?
You can use shmctl(2) to change the permissions.
(I don't know about shm_open(2)?)
>is it possible to control shared resources permissions?
You can use shmctl(2) to change the permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2008 03:13 AM
тАО08-06-2008 03:13 AM
Re: shared resource permissions
I found that the umask of the inetd to be 077 which impacted remote shells. this lead me to change root's current umask to 022. the inetd was stoped and restarted (inetd -k, inetd -l) after that the remote shells were started with a umask of 022.
later in the evening the database was resatrted, with a remote shell (or similar, it was actually an autosys job). the database shared resources were then readable by the group:
root@edwdelp2: ipcs | grep oracle
m 76440 0x669ca4f8 --rw-rw---- oracle dba
s 3858455 0x974e4330 --ra-ra---- oracle dba
it is suspected that the server's TCB setting was the cause of the default 077 umaks. the permanent (survives through reboot) solution is to alter the inetd start script to force a 022 umask in that script.
later in the evening the database was resatrted, with a remote shell (or similar, it was actually an autosys job). the database shared resources were then readable by the group:
root@edwdelp2: ipcs | grep oracle
m 76440 0x669ca4f8 --rw-rw---- oracle dba
s 3858455 0x974e4330 --ra-ra---- oracle dba
it is suspected that the server's TCB setting was the cause of the default 077 umaks. the permanent (survives through reboot) solution is to alter the inetd start script to force a 022 umask in that script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2008 03:37 AM
тАО08-06-2008 03:37 AM
Re: shared resource permissions
close
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP