Hi,
I created a package for OpenSSH 3.7.1p2 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.1p2 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
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
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
_________________________________________________________________
Get Married! [1]Search from 7 lakh Brides & Grooms.
References
1. http://g.msn.com/8HMBENIN/2755??PS=