[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
 

Other related posts: