sm-users AT lists.ibiblio.org
Subject: Sourcemage Users List
List archive
- From: "Srinivasa Rao Musunuru" <musunuru AT hotmail.com>
- To: solaris-packages-announce AT lists.ibiblio.org
- Cc:
- Subject: [SM-Users] Help For Creating a Package
- Date: Tue, 30 Sep 2003 22:30:56 +0000
Hi,
I created a package for OpenSSH 3.7.1p1 in UNIX (OS: Sun Solaris), the newly created package includes binaries,man pages, libraries and Configuration files. I am planning to install this package in all of my Sun server's (Approximately 200 Server's).
We have SSH/OpenSSH older version are already installed and running in all of the sun boxes. I want to install the OpenSSH 3.7.1p1 without deleting the old SSH/OpenSSH packages.
The installed version of SSH/OpenSSH are in different direcotries like
/usr/local/bin
/usr/local/sbin
/usr/local/libexec
/usr/local/man
/usr/local/etc
/usr/local/sbin
/usr/local/libexec
/usr/local/man
/usr/local/etc
Is there anyway i can make package replacing the binaries, man pages and also it has to check in the /usr/local/etc directory while doing the pacakage add (pkgadd), if the configuration files and key files exists in /usr/local/etc directory it shouldn't replace the files. Only it should copy the files if there is any files missing in /usr/local/etc directory while doing pkgadd.
After doing the pkgadd i want append few things to my configuration files if the information doesn't exists (sshd_config)
For ex:
UserPrivilegeSeperation NO
RhostAuthetication no
For ex:
UserPrivilegeSeperation NO
RhostAuthetication no
Also i want to check for this file /.ssh/id_rsa.pub file, if this file exists then append /.ssh/id_rsa.pub to authorizationkeys
Could you pls help me for creating the package(pkgmk/pkgadd) which will satisfy the above conditions.
If you need any information pls let me know.
Thanks,
srinivas
srinivas
Calling all NRIs! Avail of the best financial services. Smile all the way with ICICI Bank.
- [SM-Users] Help For Creating a Package, Srinivasa Rao Musunuru, 09/30/2003
Archive powered by MHonArc 2.6.24.