Patch: Solaris packages don't create privsep user or group

Nicolas.Williams at ubsw.com Nicolas.Williams at ubsw.com
Wed Jul 17 23:56:48 EST 2002


Darren,

How can a package's checkinstall/postinstall detect that
JSS Flash is being used?

Nico
-- 

> -----Original Message-----
> From: Darren J Moffat [mailto:Darren.Moffat at Sun.COM]
> Sent: Tuesday, July 16, 2002 5:21 PM
> To: openssh-unix-dev at mindrot.org; wknox at mitre.org
> Subject: Re: Patch: Solaris packages don't create privsep 
> user or group
> 
> 
> >Here are the checkinstall script and the postinstall script 
> that I use in
> >my openssh package for Solaris. They create the keys and the 
> group and
> >user for ssh (sshd), and, if the package is being installed 
> in a different
> >root, create an init script that will run these things and 
> then remove
> >itself on the next reboot. Feel free to use any part of this. The
> >/var/empty directory is, by the way, installed by the package itself.
> 
> Creating the keys in a postinstall script makes the package 
> incompatible
> with Jumpstart Flash installations.  It is a better idea to keep the
> current practice and create the keys at boot time if they 
> don't already
> exist.
> 
> In Solaris 9 we create the keys at boot time and also 
> modified sys-unconfig
> to remove the keys from the system.  Both of these ensure that Flash
> archives can be created that don't contain the identity of 
> the original
> system.
> 
> --
> Darren J Moffat
> 
> _______________________________________________
> openssh-unix-dev at mindrot.org mailing list
> http://www.mindrot.org/mailman/listinfo/openssh-unix-dev
> 

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.




More information about the openssh-unix-dev mailing list