Thread View: comp.sys.sequent
1 messages
1 total messages
Started by Dewey Henize
Tue, 14 Mar 1989 21:43
Answer to su in crontab
Author: Dewey Henize
Date: Tue, 14 Mar 1989 21:43
Date: Tue, 14 Mar 1989 21:43
22 lines
1261 bytes
1261 bytes
Thanks to everyone that responded with ideas that worked to change the effective user id for a process started from crontab. The key seems to be to use the '-c "command line"' option to su. Strangely there doesn't seem to be any mention of it in the man pages on our sequent, although after it was pointed out to me (thanks rich) I found it documented on a couple other systems we have, and it does seem to be working fine here. example line: 30 * * * * su uucp -c "/bin/sh /usr/lib/news/cleanstuff" Dewey Henize Execucom Systems. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- | There is nothing in the above message that can't be explained by sunspots. | | execu!dewey Dewey Henize | | Can you say standard disclaimer? I knew you could. Somehow... |
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads