Subject: Re: installing as non-root?
To: Georg Schwarz <georg.schwarz@freenet.de>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 10/10/2005 07:48:41
On Sun, 9 Oct 2005, Georg Schwarz wrote:

> Is there a chance to install packages like comms/minicom that want to
> create their own users as non-root?
> Is there some reasonable way to force the use of the current user and
> group?

Modify the comms/minicom/Makefile so
PKG_GROUPS?=	${DIALER_GROUP}
PKG_USERS?=	${UUCP_USER}:${DIALER_GROUP}
And edit SPECIAL_PERMS, OWN_DIRS_PERMS, CONF_FILES_PERMS as needed.
(Maybe use MINICOM_USER and MINICOM_GROUP instead?)

Add those to mk/defaults/mk.conf
In your own mk.conf set them to a normal user account that you can use.
Edit as needed any source that uses "uucp" and/or "dialer".

  Jeremy C. Reed

  	  	 	 BSD News, BSD tutorials, BSD links
 	  	 	 http://www.bsdnewsletter.com/