From owner-freebsd-questions@FreeBSD.ORG Mon Sep 22 18:48:56 2014 Return-Path: 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 CECDA538 for ; Mon, 22 Sep 2014 18:48:56 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 411813FE for ; Mon, 22 Sep 2014 18:48:56 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id s8MImoca043565 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 22 Sep 2014 20:48:50 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id s8MImoC0043562 for ; Mon, 22 Sep 2014 20:48:50 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Mon, 22 Sep 2014 20:48:50 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: FreeBSD Mailing List Subject: Re: pkg autoremove option to just list? In-Reply-To: <54206A78.6070609@dreamchaser.org> Message-ID: References: <54206A78.6070609@dreamchaser.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.fig.ol.no Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 18:48:56 -0000 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: 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 ; 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 ; 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 To: Dave Babb Subject: Re: Cloning a user References: <54206EFE.2020300@comcast.net> Reply-To: User Questions 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 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 19:07:17 -0000 Dave Babb 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?