This is the mail archive of the cygwin mailing list for the Cygwin project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Cron is running as SYSTEM. Is it possible to run cron jobs as SYSTEM too,
instead of administrator (id 500)?
ps -ef
UID PID PPID TTY STIME COMMAND
SYSTEM 12004 1 ? Apr 20 /usr/bin/cygrunsrv
SYSTEM 12684 12004 ? Apr 20 /usr/sbin/sshd
Administ 6068 1 con 11:10:47 /usr/bin/bash
SYSTEM 11776 1 ? 15:37:59 /usr/bin/cygrunsrv
SYSTEM 1488 11776 ? 15:37:59 /usr/sbin/cron
Administ 16488 1 con 15:38:11 /usr/bin/bash
Administ 16992 1 con 15:38:50 /usr/bin/bash
SYSTEM 6668 1488 ? 15:40:00 /usr/sbin/cron
Administ 11288 6668 ? 15:40:00 /usr/bin/sh
Administ 11756 16488 con 15:40:00 /usr/bin/ps
process 11288 is a script running as a cron job but UID is Administ (id
500), while PPID 6668 (cron) is UID SYSTEM (id 18).
When I run the same script from command line, it runs as id 10500
(Administrator).
I've already searched the mailing lists.
Any hint?
Thanks,
Sergio Valverde
<<cygcheck.txt>> <<cron_diagnose.txt>> <<group.txt>> <<passwd.txt>>
Attachment:
cygcheck.txt
Description: Text document
Attachment:
cron_diagnose.txt
Description: Text document
Attachment:
group.txt
Description: Text document
Attachment:
passwd.txt
Description: Text document
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |