nv-l
[Top] [All Lists]

Re: Netview startup

To: nv-l@lists.tivoli.com
Subject: Re: Netview startup
From: Vladimir Petr <petr@DATASYS.CZ>
Date: Mon, 26 Apr 1999 12:11:22 +0200
Reply-to: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
Sender: Discussion of IBM NetView and POLYCENTER Manager on NetView <NV-L@UCSBVM.UCSB.EDU>
"De Beer, Michael" wrote:
>
> Hi
>
> Is it possible to start a netview map i.e.. default map at boot-up time,
> with root user on the console, without root actually signing on the
> console,
> in other words, when the box comes up after a re-boot, it bypasses the
> GUI
> login screen and automatically starts the root map GUI. Any help would
> be
> appreciated.
>
> regards
>
> Michael de Beer
> Network Management Analyst
> +2711 889-4610 (work)
> +2711 889-5293/4355 (fax)
> +2782 338 2080 (mobile)

Hello, Michael;
I hope you know what you are trying to do, for this might compromise security at
your site.
For instance, add the following to your rc.local startup file (not sure which
platform you are running NV on):

/usr/bin/su - <userid> -c "nvauth -login <nv_userid> <nv_groupid> \
<password>; netview&"

This assumes you have security turned on and NV daemons running. Also, the user
environment must be set in the .profile file. Otherwise, use full paths to the
binaries.
For password, better not to enter it in the script but rather read it from a
file (readable only by its owner) through
$(/usr/bin/cat <password_file>)
or redirect STDIN from the file.

You can set the map to open through the netview command or let the default map
for that user show up. See manual for netview and su for options. :-)

HTH,
Best regards,
Vladimir.





--
------------------------------------------------------------------------------
"The lyf so short, the craft so long to lerne." Chaucer.

<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web