Date: Mon, 20 Aug 2001 16:45:22 +0200 From: "Leon Bek" <xion7@home.nl> To: "Rino Mardo" <rmardo@yahoo.com>, "qeustions Freebsd" <freebsd-questions@freebsd.org> Subject: RE: login environment Message-ID: <LMECKEPAELMBFFNJOIILKELHCBAA.xion7@home.nl> In-Reply-To: <000601c1296f$4f3ea9e0$a9a145ca@rino>
next in thread | previous in thread | raw e-mail | index | archive | help
I checked it again and the login shell for root is set to :/bin/csh and for the normal account it is /usr/local/bin/bash What I don't understand right now is that the normal account _is_ using bash but doesn't use the aliases and path settings in ~/.bashrc and while the root login is set to /bin/csh it uses bash with all the aliases I set in /root/.bashrc? So the normal account is using bash but not using the .bash* files... :s > -----Oorspronkelijk bericht----- > Van: Rino Mardo [mailto:rmardo@yahoo.com] > Verzonden: maandag 20 augustus 2001 10:31 > Aan: Leon Bek; qeustions Freebsd > Onderwerp: Re: login environment > > > for starters make sure the your normal accounts uses the bash shell. > normally the installation only provides the bourne shell. if it's not set > then use "vipw" as root and change the normal account shell to "/bin/bash". > > > Rino > > > ----- Original Message ----- > From: Leon Bek <xion7@home.nl> > To: qeustions Freebsd <freebsd-questions@freebsd.org> > Sent: Monday, August 20, 2001 9:55 AM > Subject: login environment > > > > Hello, > > > > This is my first qeustion here so excuse me for using outlook ;) and any > typo's I make.. :) > > > > I have installed bash as my shell and when I login as root (which I do > often in the beginning) > > I see the environment and aliases I have set in ~/.bashrc. > > But when I login as my "normal" account (which I plan to work with) then > it just displays: > > "bash-2.05$" as my login promt. I have set .bashrc in > /home/<username/.bashrc with this option which works when I login as root > but > > not when I login as a normal user: > > > > # set ENV to a file invoked each time bash is started for interactive use. > > ENV=$HOME/.shrc; export ENV > > > > # aliases > > alias h='fc -l' > > alias j=jobs > > alias m=$PAGER > > alias ll='ls -l' > > alias l='ls -laFo' > > alias g='egrep -i' > > > > # wet prompt > > PS1="\u@\h#" > > PS2=">" > > > > I have set te file permissions to 644 (-rw-r--r--) > > How can I make the aliasses and the environment settings work for a not > root account? > > > > (.bashrc and .bashrc_profile are in the homedir of the user but doesn't > work) > > > > Thanks for any pointers that you can give.. :) > > > > Leon Bek > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LMECKEPAELMBFFNJOIILKELHCBAA.xion7>