howto disable password prompt using "sudo -u username"

From: Hosin Kee (Hosin.Kee@NetThruPut.com)
Date: Mon Sep 30 2002 - 13:21:55 EDT


Good Morning Managers,

I!/m running Bigbrother as bbuser account, not root.
I need to run a special script which is to monitor Weblogic only as
application account !0srvdev!1
If BB is running as root the following command will work fine.

su - srvdev !0java weblogic.Admin -url t3://srvdev.netthruput.com:7001 -
username sys -password ss!passwd PING!1

I tried to run !0sudo -u srvdev java weblogic.Admin -url
t3://srvdev.netthruput.com:7001 -username sys -password ss!passwd PING.

But it prompted me to enter password for srvdev.
If there is a more refined way to monitor Weblogic process plsease let me
know.

Thank you in advance.
Have a good day!

Hosin Kee
NetThruPut Inc.
Phone: (403) 538-3540
Email: hosin.kee@netthruput.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:00 EDT