Re: [foxboro] shut down DM from a script
- From: Ken.E.Moore@xxxxxxxxxxx
- To: foxboro@xxxxxxxxxxxxx
- Date: Wed, 28 Jul 2004 16:49:52 -0400
Just a quick guess, but what are the permission's on the script itself?
Might be limited to being executable by root only.
Ken Moore
NSCC-Wdrf Plant
Brian Bates <batesb@xxxxxxxxxxx>@freelists.org on 07/28/2004 02:26:30 PM
Please respond to foxboro@xxxxxxxxxxxxx
Sent by: foxboro-bounce@xxxxxxxxxxxxx
To: foxboro@xxxxxxxxxxxxx
cc:
Subject: [foxboro] shut down DM from a script
Hi all.
I want to shut down a DM from a shell script.
I tried the following, but it only works when run by root. I need it to
work with users other than root.
#!/bin/sh
/usr/local/pref -DM0001 dmcmd 'dmcmd dmexit'
Has anybody used the display manager command DMPID to give me the process
id for the DM?.
If I could get that to work, I could kill the pid.
-Regards, Brian Bates
Bowater Inc.
Thunder Bay, ON
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
__
This email has been scanned for Viruses and Spam. For more information
please contact your local Information Security representative.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
foxboro mailing list: http://www.freelists.org/list/foxboro
to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
- References:
- [foxboro] shut down DM from a script
- From: Brian Bates
Other related posts:
- » Re: [foxboro] shut down DM from a script
- » Re: [foxboro] shut down DM from a script
- » Re: [foxboro] shut down DM from a script
- » Re: [foxboro] shut down DM from a script
- » Re: [foxboro] shut down DM from a script
- » Re: [foxboro] shut down DM from a script
- » Re: [foxboro] shut down DM from a script
- » Re: [foxboro] shut down DM from a script
- » Re: [foxboro] shut down DM from a script
- » Re: [foxboro] shut down DM from a script
- [foxboro] shut down DM from a script
- From: Brian Bates