- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- File permission
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
09-05-2007 10:14 PM
09-05-2007 10:14 PM
File permission
user cdeadm on server cdchle9,
user cdqadm on server cdchle8 and
user cdpadm on server pdchle5
Currently the mentioned users are not allowed to change the users crontab. The following message appears when trying to run the command 'crontab':
'crontab: you are not authorized to use cron. Sorry.'
Can you help me to resolve this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2007 10:18 PM
09-05-2007 10:18 PM
Re: File permission
"You can execute crontab if your name appears in the file usr/lib/cron/cron.allow. If that file does not exist, you can use crontab if your name does not appear in the file /usr/lib/cron/cron.deny. If only cron.deny exists and is empty, all users can use crontab. If neither file exists, only the root user can use crontab. The allow/deny files consist of one user name per line."
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2007 10:20 PM
09-05-2007 10:20 PM
Re: File permission
If you only want those users, then add them on the appropriate machines, to:
/usr/lib/cron/cron.allow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2007 10:23 PM
09-05-2007 10:23 PM
Re: File permission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2007 10:35 PM
09-05-2007 10:35 PM
Re: File permission
login as root and put entry of users in /var/adm/cron.allow file ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2007 03:32 AM
09-07-2007 03:32 AM
Re: File permission
You have got the explanation for how the unix administrator(root) have to open for other users to create cron jobs (ref. cron.allow).
In our organisation we prefere to let the root user schedule all cron jobs.
If they are to be runned with another userid they are scheculed by root like this.
Example:
00 01 * * * su - cdeadm -c /home/cdeadm/SAPjob
00 07 * * * su - oracde -c /oracle/CDE/scripts/NightJobs
---------
You could also schedule the jobs you need within SAP, as a background job (SM36) instead of using crontab.
As such you can see the job and joblog in transaction SM37.
Put the script you want to run as a step of type "External program".
Then you specify "Target host" cdchle9
aso.
This require RFC authorisations for the user who owns the job, and you might also want to take a look at the documentation for the file rfcexec.sec (search OSS)
/Tor-Arne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2007 04:37 AM
09-07-2007 04:37 AM
Re: File permission
This would allow the orcale user to run cron jobs.
sp,