From owner-freebsd-current@FreeBSD.ORG Mon Nov 19 15:46:13 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B0F54B19 for ; Mon, 19 Nov 2012 15:46:13 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 21DC98FC0C for ; Mon, 19 Nov 2012 15:46:12 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id j13so4710708lah.13 for ; Mon, 19 Nov 2012 07:46:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=tVe7m/flzGiEpNIoy7JUInSTJg/uMOko5HPN75IU52E=; b=SXzgcfBs2qmtNKQuoekevzqcVfgCrD3QnrfkrPDWSjoukJgSSCQbwVzI7UijFdte8M +USwXImIdYPKnYSYMcfLWQqM5IwvSYXLTuzWJeh/84Qw9crQjAilR5IXrbbP0IjBZcs2 0O73bl8E/k/GrCXo4GwCa9NW42ajLT8SpQmSg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=tVe7m/flzGiEpNIoy7JUInSTJg/uMOko5HPN75IU52E=; b=obxvOZDYT0RHffHfc4C0pioVYoGqrkQEIefSAYVKtT4/3xn/rESwA0EwYyaYIA517R BnhQUyr99PGTqE30dzgVG5b8tjP62P/5EFjtz278uSuHsCI0Vc6FoaswLsTxhTXAL8dn JeiKGoqm21nhTHJ8GjRV8sFd9fQk1ZUmn/EjNnfK4kt3QJasXuIqknaPDypI4NpTMdE2 /VdAPAqFpJ5N5AQhMNgNSSqX4PTvkf5+bpMiU425nQBf3w4nL91AN4MvC7dgG5+k3nFu zHLjReZ76PqgkQEW5g2MMlXbq21EsFY1RLS4fS440IxdFAtzOG421oc2REFPxHmKD6r0 Ipfg== Received: by 10.152.104.115 with SMTP id gd19mr12070064lab.13.1353339965473; Mon, 19 Nov 2012 07:46:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.25.166 with HTTP; Mon, 19 Nov 2012 07:45:35 -0800 (PST) In-Reply-To: <20121118234426.GA16628@dft-labs.eu> References: <20121118234426.GA16628@dft-labs.eu> From: Eitan Adler Date: Mon, 19 Nov 2012 10:45:35 -0500 Message-ID: Subject: Re: prompt w/ uid 0 for cshrc To: Mateusz Guzik , Eitan Adler , freebsd-current Current Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQlRfyRagqb3P+iXzvl/Si8IL+WcHhSePVVgTuASs3j9P2VLQ9JpyF8lnDyjkNY0FsBjH1KZ X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2012 15:46:13 -0000 On 18 November 2012 18:44, Mateusz Guzik wrote: > Just take user name from id -nu. While that does provide the $user value I want, id is in /usr/bin/ which may not be mounted. Is there a builtin which provides similar functionality? -- Eitan Adler