Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2014 11:38:26 -0400
From:      Fbsd8 <fbsd8@a1poweruser.com>
To:        Alberto Mijares <amijaresp@gmail.com>
Cc:        questions <questions@freebsd.org>
Subject:   Re: 10.0 set prompt for new users has problems
Message-ID:  <53592FF2.3010907@a1poweruser.com>
In-Reply-To: <CAGZBXN9xXeftLJ8ws9OS-Faae_WmkVYuD6GZQEtPcyTVkpU6Qw@mail.gmail.com>
References:  <5359293C.20501@a1poweruser.com> <CAGZBXN9xXeftLJ8ws9OS-Faae_WmkVYuD6GZQEtPcyTVkpU6Qw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alberto Mijares wrote:
> On Thu, Apr 24, 2014 at 10:39 AM, Fbsd8 <fbsd8@a1poweruser.com> 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
> 

I would think you have to exit jon session and login again for the new 
group setting to take affect.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53592FF2.3010907>