Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

can i run vb script file from a novell log on file

Posted on 2009-06-30
6
Medium Priority
?
841 Views
Last Modified: 2013-11-30
I have a vb script that resides on a windows server that will inventory my network workstaitons. the users authenticate thru novell using a novell log on script that everyone uses.
Can i incorporate the path to the vb script into the novell script so that the workstations will run the auditing script after authenticating so my network audits are current?
0
Comment
Question by:geriatricgeek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 19

Expert Comment

by:deroode
ID: 24752092
Do your users authenticate also to the windows server?

You will have to make a connection somehow to the windows server. That can be with the user himself if accountname and password are identical:

in the login script use the following:

#net use \\server\share
#cscript \\server\share\sript.vbs

Or if your users aren't known on the windows server you could login with a different user:

#net use \\server\share password /user:domain\audituser

where audituser is a generic user for launching the auditing script.
0
 
LVL 1

Author Comment

by:geriatricgeek
ID: 24763358
the users also autenticate to a windows server, but the novell server runs the script. do i insert the lines using my server names in the following?
#net use \\server\share
#cscript \\server\share\sript.vbs
0
 
LVL 19

Expert Comment

by:deroode
ID: 24763540
Yep, that should do the trick. Replace server with the name of your server (or DNS name), share for the name of your share.

# in a Novell login script means "execute an external command, wait for finish"
0
Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

 
LVL 1

Author Comment

by:geriatricgeek
ID: 24763581
thanks for the info. the wait for finish doesn't mean it will wait for the audit to finish does it? just the command? it will continue to sign on and allow the user to begin working, correct?
0
 
LVL 19

Accepted Solution

by:
deroode earned 2000 total points
ID: 24763694
That depends on the way the audit script works. If the script stays active during the audit the login script processor will wait for cscript.exe to finish. If the script spawns some kind of process and finishes then the Novell login script will finish as well.

If the login script keeps waiting for your script to finish you can also use

@cscript \\server\share\script.vbs

where @ means start an external program and continue.

You can read the login script documentation here:

http://www.novell.com/documentation/linux_client/login/?page=/documentation/linux_client/login/data/ak1lxuu.html
0
 
LVL 1

Author Closing Comment

by:geriatricgeek
ID: 31598474
i'll give this a shot. thanks.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question