Date: Mon, 22 Sep 2014 20:48:50 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no> To: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: pkg autoremove option to just list? Message-ID: <alpine.BSF.2.11.1409222048020.41446@mail.fig.ol.no> In-Reply-To: <54206A78.6070609@dreamchaser.org> References: <54206A78.6070609@dreamchaser.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 Sep 2014 12:29-0600, Gary Aitken wrote: > Thought this would be easy but couldn't find what I needed. > > Is there a way to do the equivalent of "pkg autoremove" without actually doing > the remove -- i.e. to get a list of what pkg autoremove would try to do? I > thought there would be an option for this but didn't see one. Try: pkg autoremove -n Hint: pkg help autoremove or man pkg-autoremove -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@FreeBSD.ORG Mon Sep 22 19:07:17 2014 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 062AAFFB for <freebsd-questions@freebsd.org>; Mon, 22 Sep 2014 19:07:17 +0000 (UTC) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id D2C82865 for <freebsd-questions@freebsd.org>; Mon, 22 Sep 2014 19:07:16 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 4723433C1D; Mon, 22 Sep 2014 15:07:05 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id A9D5739857; Mon, 22 Sep 2014 15:07:03 -0400 (EDT) From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Dave Babb <dcbdbis@comcast.net> Subject: Re: Cloning a user References: <54206EFE.2020300@comcast.net> Reply-To: User Questions <freebsd-questions@freebsd.org> Date: Mon, 22 Sep 2014 15:07:03 -0400 In-Reply-To: <54206EFE.2020300@comcast.net> (Dave Babb's message of "Mon, 22 Sep 2014 12:48:30 -0600") Message-ID: <44zjdrpj8o.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: User Questions <freebsd-questions@freebsd.org> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Mon, 22 Sep 2014 19:07:17 -0000 Dave Babb <dcbdbis@comcast.net> writes: > I am setting up a new system for a municipality. I want to setup one > user's home dir, their desktop, .profile, dir tree, etc....then clone > it to all the other users I need to setup. email is not a part of this > cloning process. I am trying to avoid the labor setting up each user's > desktop individually..... [...] > May I ask for pointers please? useradd(8)? Possibly with a custom configuration file and/or dotfile directory?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1409222048020.41446>