- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: automatic start of netscape https server
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
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
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
02-15-2001 01:26 AM
02-15-2001 01:26 AM
automatic start of netscape https server
I need to create a script to automatic launch netscape https server.
Netscape has a script start to launch the server, but you need to enter a password for the certificate.
I think I need to pass the password from a file (maybe crypted with crypt) and put it on /sbin/init.d ana a S900 link on /sbin/
start script is:
#!/bin/sh
SERVER_ROOT=/usr/netscape/suitespot
PRODUCT_NAME=https
PRODUCT_BIN=uxwdog
PRODUCT_SUBDIR=/usr/netscape/suitespot/https-open1
cd $SERVER_ROOT/bin/$PRODUCT_NAME
./$PRODUCT_BIN -d $PRODUCT_SUBDIR/config $@
if test $? -ne 0 ; then
exit 1
fi
dcfe02:/usr/netscape/suitespot/https-open1#>more start
#!/bin/sh
SERVER_ROOT=/usr/netscape/suitespot
PRODUCT_NAME=https
PRODUCT_BIN=uxwdog
PRODUCT_SUBDIR=/usr/netscape/suitespot/https-open1
cd $SERVER_ROOT/bin/$PRODUCT_NAME
./$PRODUCT_BIN -d $PRODUCT_SUBDIR/config $@
if test $? -ne 0 ; then
exit 1
fi
How can I implement my automatic script?
Regards
Roberto
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 01:41 AM
02-15-2001 01:41 AM
Re: automatic start of netscape https server
Use Expect. Based on a substring of the "expected" output such as "password: ", you can use Expect to key in the password in the password field for you.
Example:
=====================================
#!/usr/bin/expect
spawn netscape-server-startup
expect "password: "
send "abcdef\n"
close
=====================================
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 01:49 AM
02-15-2001 01:49 AM
Re: automatic start of netscape https server
what's expect? is a unix command? I can't find it...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 04:40 AM
02-15-2001 04:40 AM
Re: automatic start of netscape https server
hpux.connect.org.uk
Other useful programs for HP-UX sysadmins:
lsof and sudo
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-15-2001 07:27 AM
02-15-2001 07:27 AM
Re: automatic start of netscape https server
To start ssl server at boot you need to build password.conf in the ssl server config directory.
That's all
Best Regards
Roberto