Patch: Solaris packages don't create privsep user or group
Ben Lindstrom
mouring at etoh.eviladmin.org
Wed Jul 17 11:12:55 EST 2002
Minor pissy thing. =-)
+ if cut -f3 -d: \${PKG_INSTALL_ROOT}/etc/group | egrep
'^'$SSHDGID'\$' >/dev/null
+ then
+ sshdgid="-g 22"
+ fi
sshdgid="-g $SSHDGID"
same with the sshduid check.
Why? Because it allows us to change SSHDGID/SSHDUID in a single location
that makes sense.
- Ben
On Wed, 17 Jul 2002, Darren Tucker wrote:
> Darren Tucker wrote:
> > How about something like the attached patch (b+c)? (Currently untested,
> > please don't commit.) Or is it too convoluted?
>
> FWIW here's a patch that works (on Solaris 7 anyway) during a jumpstart
> finish_script (ie with pkgadd -R).
>
> If a consensus is reached about a better way to do the account/group
> stuff I'll be happy to post a new patch.
>
> --
> Darren Tucker (dtucker at zip.com.au)
> GPG Fingerprint D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
> Good judgement comes with experience. Unfortunately, the experience
> usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list