- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- anti virus script???
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2003 05:43 AM
тАО05-13-2003 05:43 AM
anti virus script???
Once I have copied the latest virus definition file to a directory on the unix server the script should ssh the virus definition file to all the Windows 2000 servers and install it.
Since it is a secure environment only ssh or scp are enabled not telnet or ftp.
Any help on this one is greatly appreciated?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2003 05:55 AM
тАО05-13-2003 05:55 AM
Re: anti virus script???
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2003 06:01 AM
тАО05-13-2003 06:01 AM
Re: anti virus script???
I should have explained myself clearer. I would actually download the latest virus definition file manually from the Norton Anti-virus website to my laptop. I would then copy the definition file to a directory on the unix server.
The script itself should be able to ssh /scp the virus definition file to all the Windows 2000 servers and install it.
Hope this helps...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2003 06:03 AM
тАО05-13-2003 06:03 AM
Re: anti virus script???
What you could do is run the update on a PC and open up those directeries as shared. Then the CIFS/9000 client can be used to connect to the PC and get teh files.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2003 06:11 AM
тАО05-13-2003 06:11 AM
Re: anti virus script???
Ok. Get a copy of expect for HP, if you don't already have it. You'll need it to feed the Win2k commands as input from the ssh script to run the install once the file is on the Win2k box:
http://hpux.cs.utah.edu/hppd/hpux/Tcl/expect-5.38/
You'll then want to install either KiXtart or MS ScriptIt on the Win2k boxes so you have a batch processing environment to work with on that side as well. I don't have a URL, but both are downloadable from the MS web site.
Never having done this, I don't have an ssh script handy to give you, but once you have the infrastructure in place, doing the script will be the easy part.
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-13-2003 06:12 AM
тАО05-13-2003 06:12 AM
Re: anti virus script???
This would still be more automated than manually copying the file to each Windows machine one at a time from unix, then logging into each Windows server and installing.
Let me know if you have any ideas or scripts for this.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2003 05:57 AM
тАО05-15-2003 05:57 AM
Re: anti virus script???
Out of curiosity, why not install a single HP with Linux to serve all your PC's? Even a HP-UX box?
I have converted 4 sites now to exclusively Linux servers. I have reduced the companies hardware costs for servers by 60%, and licensing feels 93%.
Just food for thought...
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2003 02:50 PM
тАО05-15-2003 02:50 PM
Re: anti virus script???
Why not have NAV auto-update? Does your security policy prohibit ANY use of telnet and FTP? Why regard the anonymous download of publicly available data as insecure?
Okay, why not have NAV on the W2k systems automatically download the new def files from a local HTTP or FTP server? If you can't tell NAV were to look, then find out where NAV is looking and spoof that domain in your local DNS servers to resolve to a local server. Optionally, this host can automatically download the new defs periodically so you won't have to do any manual work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2003 12:18 AM
тАО05-16-2003 12:18 AM
Re: anti virus script???
I didn't understand all, but I'm writing what I think you want :
1 - You want to download virus definition from internet to you unix server.. You can use http or ftp protocol to do that ....
2 - You want to push this file to your w2000 servers through ssh.
3 - Your unix server can start installation on w2k servers (through ssh).
Here are the possibles answers :
for 1 ; the wget tool is for you, you can use it to download file through http, and store it on your disks.
for 2 : ssh is possible, but you need sshd on yous w2k servers which is not standard !! You can get install one (openssh) but with cygwin.
You don't need expect because you can manage with ssh authentication with public keys...(by the way scp is more easy to copy files).
for 3 : same as 2 if you have a sshd server on the w2k you can start any local scripts, for example anti virus installation (if this is possible some anti virus software cannot be run through command lines !)
Here is another way.
Instead of using sshd on w2k, you can use on the reverse side, and keep only a client on the w2k. But this means that you have to create a kind of daemon on the w2k wich will check every x hours if a new virus arrived, and copy it if it's the case.
By the way the client side on w2k is lighter (no need cygwin).
hope that help
Benoit
______
"Quand un homme et une femme sont mari??s, ils ne deviennent plus qu'un ; la premi??re difficult?? est de d??cider lequel." H. L. Mencken
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2003 12:35 AM
тАО05-16-2003 12:35 AM
Re: anti virus script???
Have attached the McAfee script we use to download DAT files.
The -netrc is configured to use a ftp-gateway service that we use.
rgds
Andreas
.netrc:
machine ftp_gateway
login anonymous@ftp.nai.com
password youremail@domain
macdef init
cd pub/antivirus/datfiles/4.x
bin
prompt
mget dat-*.tar
close
bye