Date: Mon, 05 Aug 2002 17:42:40 +0200 From: Tobias Roth <roth@iam.unibe.ch> To: freebsd-questions@freebsd.org Subject: using portupgrade as non-root Message-ID: <20020805154240.GC19231@lara.unibe.ch>
next in thread | raw e-mail | index | archive | help
Hi
I am thinking about creating a special user for managing my ports, so I don't have to do the configure/make part as root. However, at the same time I would like to use portupgrade.
How can I accomplish that?
If I set WRKDIRPREFIX and distfiles to something userwritable, make/make install from the portstree works. If I give the whole portstree to the user, even make update works. But not portupgrade, obviously.
From PORTUPGRADE(1):
--sudo-command CMD Specify an alternative to sudo(8). e.g. ``'su
root -c %s ''' (default: sudo)
How is this supposed to work? I didn't get it to do what I want (su to root for the install and package database update processes only).
Any help appreciated
cheers, T.
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?20020805154240.GC19231>
