- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing Oracle Permission to alter crontab
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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-2006 03:26 AM
08-01-2006 03:26 AM
I'm trying to change crontab under the user Oracle but Oracle still doesn’t have permissions to alter its own crontab
Any help with changing these permission would be greatly appreciated.
Adam
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 03:31 AM
08-01-2006 03:31 AM
Re: Changing Oracle Permission to alter crontab
# crontab -e
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 03:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 03:33 AM
08-01-2006 03:33 AM
Re: Changing Oracle Permission to alter crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 03:34 AM
08-01-2006 03:34 AM
Re: Changing Oracle Permission to alter crontab
It appears Oracle does not have the right permissions to edit this file. Root works just fine.
Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 03:35 AM
08-01-2006 03:35 AM
Re: Changing Oracle Permission to alter crontab
Jeff Traigle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 03:35 AM
08-01-2006 03:35 AM
Re: Changing Oracle Permission to alter crontab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2006 03:40 AM
08-01-2006 03:40 AM
Re: Changing Oracle Permission to alter crontab
All the files in /var/spool/cron/crontabs should be owned by root and have mode set to 400 -- so that only root can edit them -- this is normal and desired. -- and regular uses can still nonetheless alter them.
Next, do an ls -l /usr/bin/crontab and make sure that the setuid bit is set and that the file is owned by root. It should have mode 4555 (-r-sr-xr-x) set.
Now as user oracle:
crontab -l > oracle.cron
Edit oracle.cron as user oracle, make any changes and save the file.
crontab < oracle.cron
Now to make certain, your changes were recogized (and still as user oracle):
crontab -l # this will display oracle's crontab on stdout.
The setuid bit and crontab's being owned by root is what allows a regular user to alter a file that only root is normally able to alter.