| To: | <nv-l@lists.us.ibm.com> |
|---|---|
| Subject: | RE: [nv-l] Updating Gui items on the map - still struggling |
| From: | "Ray Westphal" <westphal2002@charter.net> |
| Date: | Tue, 22 Feb 2005 20:10:54 -0600 |
| Delivery-date: | Wed, 23 Feb 2005 02:11:28 +0000 |
| Envelope-to: | nv-l-archive@lists.skills-1st.co.uk |
| Importance: | Normal |
| In-reply-to: | <EFF2105927F5EE4EA64093699274875AE61D2A@fnbrbgmx01.fnb.co.za> |
| Reply-to: | nv-l@lists.us.ibm.com |
| Sender: | owner-nv-l@lists.us.ibm.com |
|
Hello
Vynita,
Here
is how I handled the ID issues. I open an xterm window and present the user
with a menu. Option #1 is to use their NetView ID, ${USER}. Option #2 is to let
them enter the user ID.
I'm
not much of a programmer. I'm sure you can improve on this.
Let me
know what you think.
Have
Fun!
Ray
Westphal
Enterprise Rent-A-Car
#!/bin/ksh
# ####################################################### /usr/bin/clear select=""
secure="" echo
" Your NetView user ID is
${USER}."
echo " Make a selection" print ' ' print ' 1. Use NetView ID ' print ' 2. Enter SECURE ID ' print ' ' print ' ' print -n ' Selection: ' read select if [ ${select} = "1" ] then /usr/bin/ssh -1 ${USER}@${OVwSelection1} else if [ ${select} = "2" ] then /usr/bin/clear print '\n SECURE ID is case-sensitive ' print ' Enter your SECURE ID:\n' print -n ' ---> ' read secure if [[ ${secure} != "" ]] then /usr/bin/ssh -1 ${secure}@${OVwSelection1} else print ' Invalid entry ..... Exiting.' sleep 1 exit fi fi fi
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [nv-l] Netview 7.1.3 FixPack 3, James Shanks |
|---|---|
| Next by Date: | RE: [nv-l] Updating Gui items on the map - still struggling thanks Ray, Pretorius, Vynita |
| Previous by Thread: | RE: [nv-l] Updating Gui items on the map - still struggling, Pretorius, Vynita |
| Next by Thread: | [nv-l] Netview Server Discovery, reamd |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web