From owner-freebsd-questions@FreeBSD.ORG Thu Apr 24 15:29:34 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F1F82C6B for ; Thu, 24 Apr 2014 15:29:34 +0000 (UTC) Received: from mail-ve0-x232.google.com (mail-ve0-x232.google.com [IPv6:2607:f8b0:400c:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B386118AD for ; Thu, 24 Apr 2014 15:29:34 +0000 (UTC) Received: by mail-ve0-f178.google.com with SMTP id jw12so3218439veb.9 for ; Thu, 24 Apr 2014 08:29:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4jTjR5y4Alo+FXLSW+dr7PEn32qR/j/2ye2QhKjQNp8=; b=vbmWl9d7AIt7rSfRwGUzjqPeBhuDYqdZR2pUjGs75wbrjA/UqHy+TCZUJ8ZZ8PJ/5b FUaza4rSQ4mdf8ilxPnhn/I0ZD2NZGPfaJ4UrZsAb2xL8lMF8pq2TgtuKWQuig0Yq5eK 6t5dtAzlEE+CnZmUh13ucvche4AEvm6Ufzp8xHMAMfrxdCo/GWbqyPxZ7zASWigJLyTo ycMSdSbqLABx9HAa8TFoanRkRuUj/wQcoWO3iUpUp1Q0BK7GWZWuyQebWJiQgD4lF0Hr 3jCE839pBVUv68HzXN1XvrxWEPiqnMhQefjzFFuhNuxBt8Bt0SOp5o7ggKODIrEqDfRy PGrA== MIME-Version: 1.0 X-Received: by 10.220.163.3 with SMTP id y3mr1637739vcx.7.1398353373780; Thu, 24 Apr 2014 08:29:33 -0700 (PDT) Received: by 10.58.121.169 with HTTP; Thu, 24 Apr 2014 08:29:33 -0700 (PDT) In-Reply-To: <5359293C.20501@a1poweruser.com> References: <5359293C.20501@a1poweruser.com> Date: Thu, 24 Apr 2014 10:59:33 -0430 Message-ID: Subject: Re: 10.0 set prompt for new users has problems From: Alberto Mijares To: Fbsd8 Content-Type: text/plain; charset=UTF-8 Cc: questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2014 15:29:35 -0000 On Thu, Apr 24, 2014 at 10:39 AM, Fbsd8 wrote: > 10.0 host and using pw command to adduser. > pw adduser test -c Test-user -m -g wheel -w yes > > original /etc/csh.cshrc and /usr/share/skel/dot.cshrc files > > When I log into user test the prompt is a single dollar sign. > > Issuing the ll command i see .cshrc* > Why does this file end with an *? > > I can edit the as .cshrc* or .cshrc and replace the existing set prompt > statement with set prompt = "# %/ >" then save the file, exit and login > again. The prompt is still a dollar sign. > > If I issue set prompt = "# %/ >" command from the test user command line > the prompt still doe's not change. > > I can edit the /usr/share/skel/dot.cshrc replacing the existing set prompt > with the new one, deluser test, adduser test, and still get dollar sign for > the prompt even though I see the wanted prompt statement in user test home > directory .cshrc* file. > > Another problem is the alias commands la and lf don't work but the ll alias > does work. > Hi Fbsd8, Last night I experienced a similar issue. As root I added the user jon to the dialer group pw groupmod dialer -m jon In a previously opened shell, with user jon, I found no way to update this change. I tried executing sh, bash, csh with no success. However, the change was made. How do you tell the current shell to re-read the enviroment? Looks like your issue, don't you think? 10-RELEASE-p1 Regards Alberto Mijares