Networker

[Networker] nsrexecd running under different acount

2002-08-12 13:41:49
Subject: [Networker] nsrexecd running under different acount
From: "Tsallos, Christos" <Christos.Tsallos AT EINSTEINET DOT DE>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 12 Aug 2002 19:35:20 +0200
Hello NetWorkers,

for some specific reason (SAP/Oracle DB backup) I need the nsrexecd to run
under different acount/user instead of root to get an internal DB connection
to start some scripts. The client is a SUN machine running Solaris 8.

I tried the su - <user> -c in several ways but I couldn´t get it start in
the way I need it. I also edited the /etc/init.d/networker script and the
/etc/rc2.d/S95networker startscript in this way: 
...
(su - <user> -c "/usr/sbin/nsrexecd -s <legatoservername>"; /bin/sleep 15) >
/dev/console 2>&1
...

What I get is no response and the service does not start.
Does anybody knows what I need to change or where to edit which files ?
Any suggestions are welcome.

Thanks

Christos


Christos Tsallos
Technical Consultant SAN
____________________________________________

EINSTEINet GmbH
Niederlassung Kempten
Albert-Einstein-Straße 6, D-87437 Kempten
Tel.: +49 (0) 831-52191-27
Fax: +49 (0) 831-52191-700
Mobil: 0172-8544729

mailto:christos.tsallos AT einsteinet DOT de
http://www.einsteinet.de
____________________________________________

--
Note: To sign off this list, send a "signoff" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

<Prev in Thread] Current Thread [Next in Thread>
  • [Networker] nsrexecd running under different acount, Tsallos, Christos <=