Sponsored Content
Top Forums UNIX for Advanced & Expert Users HOw do i give a user cronjob edit/settings permission? Post 302160898 by neerajrathi2 on Wednesday 23rd of January 2008 03:40:39 AM
Old 01-23-2008
UNIX account with your name may not have permission to set crontab entries.

Following is transcript from manual pages of crontab. you could check /etc/cron.d/cron.allow or /etc/cron.d/cron.deny files

Users: Access to crontab is allowed:

o if the user's name appears in /etc/cron.d/cron.allow.

o if /etc/cron.d/cron.allow does not exist and the user's
name is not in /etc/cron.d/cron.deny.

Users: Access to crontab is denied:

o if /etc/cron.d/cron.allow exists and the user's name is
not in it.

o if /etc/cron.d/cron.allow does not exist and user's
name is in /etc/cron.d/cron.deny.

o if neither file exists, only a user with the
solaris.jobs.user authorization is allowed to submit a
job.

o if BSM audit is enabled, the user's shell is not
audited and the user is not the crontab owner. This can
occur if the user logs in by way of a program, such as
some versions of SSH, which does not set audit parame-
ters.

The rules for allow and deny apply to root only if the
allow/deny files exist.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Cronjob not considering my .envrc settings

Hi, I am trying to execute a java program with a perl wrapper over that. when i execute the perl script it is running fine as my .envrc settings are already loaded when the shell is started. When i put this perl wrapper in cron, then it says the CLASSPATH env-variable is not defined. Does the... (1 Reply)
Discussion started by: sarmakdvsr
1 Replies

2. UNIX for Dummies Questions & Answers

How to give permission for a specified user

Hi All, How can i give permission for a specific user ( eg. admin ) ? I tried with chmod admin+r prog.sh which doesnt work. Is there any way i can specify a user's name and give the permission? Thanks in advance. Saneesh Joseph. (1 Reply)
Discussion started by: saneeshjose
1 Replies

3. Shell Programming and Scripting

Cronjob: permission denied

Hello everybody, I will be very thankfull for any help to solve this problem. My project installed in subfolder and url is mysite.mydomain.com. Can't setup crontab for this project, error: " /bin/sh: /usr/bin/GET: Permission denied ". But it is working fine for root directory installation. ... (16 Replies)
Discussion started by: Alano
16 Replies

4. Solaris

give user permission on specific directory in solaris

dear all does any one give any user write permission using access control list or another way to solve this problem (1 Reply)
Discussion started by: murad.jaber
1 Replies

5. UNIX for Advanced & Expert Users

user settings

Hello I wonder... lets say I have to set up very very restricted rights to a user that only should be able to access logfile Y in catalogue X and nothing else. Current user is going to use Putty to access current unix machine. Is it possible to set up user settings so a user is just able to... (1 Reply)
Discussion started by: mimaca
1 Replies

6. Shell Programming and Scripting

give permission to read a file

I want to give tester only the account tester to view the file /var/mail/root nobody else but him and of course the owner root w/o changing the permisions of /var/mail/root -rw-------. $ cat /var/mail/root cat: /var/mail/root: Permission denied (3 Replies)
Discussion started by: kenshinhimura
3 Replies

7. UNIX for Advanced & Expert Users

Access file permission settings from Windows

Looking to see if there is a tool/crawler that could export the file permissions to a windows for a unix system ? (3 Replies)
Discussion started by: matvrix
3 Replies

8. Shell Programming and Scripting

Cronjob not working from user's crontab

Hi All, I am trying to execute a python script from a user's crontab. /home/user1/UDE/scripts/UdeManager.py I am at /home/user1. If I run the command "/home/user1UDE/scripts/UdeManager.py" from the users home directory its working fine. But when I try to run from user's cron tab its... (3 Replies)
Discussion started by: Tuxidow
3 Replies

9. Solaris

How to give full permission to a directory?

Hi, I have enabled the Apache webserver on my machime. Apache root directory is /etc/apache2 and the user in which the web server is configured is webservd,I guess. I have another user called perf. Under perf user there is /export/home/perf/v9 directory. I want to give the OS user of... (3 Replies)
Discussion started by: bikas89
3 Replies

10. UNIX for Beginners Questions & Answers

How do I give permission for the kill command?

<?php $comando = "kill -9 3104"; $output = shell_exec($comando); ?> I am running this web page, but it does not execute the command, in the log file it looks like this: sh: 1: kill: Operation not permitted How do I give permission to execute the command? (1 Reply)
Discussion started by: Rodrigo_Bueno
1 Replies
yum-cron(8)															       yum-cron(8)

NAME
yum-cron - an interface to convieniently call yum from cron SYNOPSIS
yum-cron [config-file] DESCRIPTION
yum-cron is an alternate interface to yum that is optimised to be convenient to call from cron. It provides methods to keep repository metadata up to date, and to check for, download, and apply updates. Rather than accepting many different command line arguments, the dif- ferent functions of yum-cron can be accessed through config files. config-file is used to optionally specify the path to the configuration file to use. If it is not given, the default configuration file will be used. It is useful to be able to specify different configuration files for different use cases. For example, one configuration file might be set to update the repository metadata, and a line could be added to the crontab to run yum-cron frequently using this file. Then, another configuration file might be set to install updates, and yum-cron could be run from cron using this file just once each day. FILES
/etc/yum/yum-cron.conf /etc/yum/yum-cron-hourly.conf SEE ALSO
yum (8) AUTHORS
See the Authors file included with this program. BUGS
There of course aren't any bugs, but if you find any, you should email the mailing list, yum@lists.baseurl.org, or consult bugzilla. Nick Jacek yum-cron(8)
All times are GMT -4. The time now is 01:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy