The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-23-2008
debu debu is offline
Registered User
  
 

Join Date: May 2007
Posts: 10
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.
  #2 (permalink)  
Old 01-23-2008
neerajrathi2 neerajrathi2 is offline
Registered User
  
 

Join Date: Jan 2008
Posts: 3
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.
  #3 (permalink)  
Old 01-24-2008
sumitpandya sumitpandya is offline
Registered User
  
 

Join Date: Mar 2006
Location: Ahmedabad
Posts: 125
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 01:27 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0