![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| give user permission on specific directory in solaris | murad.jaber | SUN Solaris | 1 | 07-17-2007 06:01 PM |
| cronjob dies when user password expires | sparcguy | SUN Solaris | 4 | 02-05-2007 03:04 AM |
| Cronjob: permission denied | Alano | Shell Programming and Scripting | 16 | 01-11-2007 04:35 AM |
| How to give permission for a specified user | saneeshjose | UNIX for Dummies Questions & Answers | 1 | 02-14-2006 06:57 AM |
| Cronjob not considering my .envrc settings | sarmakdvsr | Shell Programming and Scripting | 1 | 11-15-2004 11:01 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
HOw do i give a user cronjob edit/settings permission?
Hi,
In a Unix Server when i 'su' to my name and type in crontab it says " You are not authorised......". Pls suggest what to do? How do i give myself permission so that I can schedule a cron. |
|
||||
|
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. |
|
||||
|
s-bit for /usr/bin/crontab
Once you have "s-bit" (4755) for crontab command, then users will be able to make their own crontab simply with "crontab -e"
This will create file name "username" in /var/spool/cron directory |
| Sponsored Links | ||
|
|