From owner-freebsd-questions@FreeBSD.ORG Tue Jan 8 00:02:34 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 47693503 for ; Tue, 8 Jan 2013 00:02:34 +0000 (UTC) (envelope-from dondugger47@gmail.com) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) by mx1.freebsd.org (Postfix) with ESMTP id A873DE4E for ; Tue, 8 Jan 2013 00:02:33 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id fq12so17205797lab.25 for ; Mon, 07 Jan 2013 16:02:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=kz4gM+9FwzMFDWSVDXBo+N7UCbbX/9mAD6y8zbAYQrU=; b=TdZmXKaydFhTOWjoLo/yroBlcEB/zzYlzVLDM3tRdwxRJwon/1u/aRIfWBBZBKPw5w n+hUZMh99HzZcqjEbWj8+tCnfrN1RoaKFBi6XLyAJ2RLgEg3JHikkrHM85AF1azwgaYP CSEQlwxZTuhX/b58BR9oMuTVi3ruhO11h08am9taSV8dwImG1Y3Yt7cQlnTC6nWJm51L qyGZO2LzjxhbKqLYLzaN4kWFk17QEdvHe2yctHK5oslH3hHHn3Du2iuQ926V7QV2fc/j sDZIjFsyJKXL26lsWcccuxCDxP+tdMl6hHyodSPwd9yd9tc3AcyeJviNbq4lTvcDgoKo YAvw== MIME-Version: 1.0 Received: by 10.152.113.66 with SMTP id iw2mr58828491lab.37.1357603352043; Mon, 07 Jan 2013 16:02:32 -0800 (PST) Received: by 10.112.86.34 with HTTP; Mon, 7 Jan 2013 16:02:31 -0800 (PST) Date: Mon, 7 Jan 2013 16:02:31 -0800 Message-ID: Subject: Re: User IDs From: Don Dugger To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jan 2013 00:02:34 -0000 >On Mon, 7 Jan 2013 11:49:48 -0800, Don Dugger wrote: >> The question is about dealing with adding users. I been using NIS for a >> while now it works ok however I've had to keep good notes on how to do >> thing mainly because I don't add user or boxes very often. I'm a software >> engineer not a system admin so I not clean on what the best way to deal >> with things like this. The problem is when I added a PC-BSD box and added a >> user with the GUI admin stuff provided it did not let me specify the user >> id so now the users file that are on the nfs mounted drives user id's don't> >> match. I can login as root and use chpass and change the user ids but then >> I must go through add they files on the new box change uids and gids. >> >> Question is there an easier way?? >If the GUI tool of PC-BSD doesn't cover the specific need you >have, use the CLI equivalent. If you need an interactive way >of adding users, use "adduser", and if you have some time, >read "man pw" and use "pw useradd" (and maybe "pw usermod") >which will cover nearly all imaginable cases. >The advantage of pw is that you can easily script and automate >things. If urgently needed, you could create a GUI wrapper >with Tcl/Tk, but you'll probably find that the CLI tool is >much easier to use. Ya I tried that the problem is adduser doesn't set the users home directory up for the for PC-BSD system. (KDE) Don