Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 May 1999 23:29:41 -0500
From:      David Kelly <dkelly@hiwaay.net>
To:        Thomas Good <tomg@nrnet.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Installing and Running PostgreSQL 
Message-ID:  <199905300429.XAA90358@nospam.hiwaay.net>
In-Reply-To: Message from Thomas Good <tomg@nrnet.org>  of "Fri, 28 May 1999 08:18:29 EDT." <Pine.LNX.3.96.990528080654.11167A-100000@mailhost.nrnet.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Thomas Good writes:
> On Thu, 27 May 1999, David Kelly wrote:
> 
> > Thomas Good writes:
> > > Now can we get PG binaries online somewhere?!  ;-)
> > 
> > Thought I'd try it. This is how one makes a binary package out of a 
> > port:
> > 
> > % cd /ports/databases/postgresql/
> > % make USE_TCL=yes package
> > ===>  postgresql-6.4.2 may not be packaged: Requires pgsql uid.
> > % 
> > 
> > Apparently it blows up because the package system does not yet support 
> > the creation/addition of new user id's. Or maybe there is some good 
> > reason a package can not create a user account?
> 
> David - what about a shell script that does the same thing?  When I cp'd
> the binaries from my production box to my laptop I did this:

That's essentially what a package does too.

The port executes ${PORTSDIR}/databases/postgresql/scripts/createuser. 
I don't know why the package can't do the same as the package executes 
other scripts which are included. Its my guess packages do not create 
user id's as a matter of security policy, not because its impossible or 
hard.





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905300429.XAA90358>