01-24-2008
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
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
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
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
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
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
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
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
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
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
<?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
cron(8) System Manager's Manual cron(8)
NAME
cron - The system clock daemon
SYNOPSIS
/usr/sbin/cron
DESCRIPTION
The cron daemon runs shell commands at specified dates and times. Commands that are to run according to a regular or periodic schedule are
found within the crontab files. Commands that are to run once only are found within the at files. You submit crontab and at file entries
by using the crontab and at commands. Because the cron process exits only when killed or when the system stops, only one cron daemon
should exist on the system at any given time. Normally, you start the cron daemon from within a run command file.
During process initialization and when cron detects a change, it examines the crontab and at files. This strategy reduces the overhead of
checking for new or changed files at regularly scheduled intervals. The cron command creates a log of its activities. The cron daemon
must be started from the system startup scripts because it must begin execution without a login user ID set. The cron daemon starts each
job with the following process attributes stored with the job by the invoking process: Login user ID Effective and real user IDs Effective
and real group IDs Supplementary groups
It also establishes the following attributes from the authentication profile of the account associated with the login user ID of the invok-
ing process: Audit control and disposition masks Kernel authorizations
DIAGNOSTICS
The at and batch programs will refuse to accept jobs submitted from processes whose login user ID is different from the real user ID.
FILES
Specifies the command path. Main cron directory Directory containing the crontab files. List of allowed users. List of denied users His-
tory information for cron Queue description file for at, batch, and cron
RELATED INFORMATION
Commands: at(1), crontab(1), rc0(8), rc2(8), rc3(8)
Files: queuedefs(4) delim off
cron(8)