Nice one. .profile does indeed get called :)
Thanks
Greg
> -----Original Message-----
> From: Ken Guest [SMTP:kwg at renre-europe.com]
> Sent: 13 February 2002 11:22
> To: Gregory "McRandal (ext 722)
> Cc: Irish Linux "User's Group (E-mail)
> Subject: RE: [ILUG] login
>> On Cead, 2002-02-13 at 11:20, Gregory McRandal (ext 722) wrote:
> > I looked through the bash man pages and saw that, but I don't know how
> to
> > check it :( /etc/passwd just gives the shell as /bin/sh with no
> parameters.
> > /bin/sh is linked to /bin/bash......
>>> Ah, from the man page:
>> If Bash is invoked as sh, it tries to mimic the behavior of sh as
> closely as possible. For a login shell, it attempts to source only
> `/etc/profile' and `~/.profile', in that order. The -noprofile option
> may still be used to disable this behavior. A shell invoked as sh does
> not attempt to source any other startup files.
>> So you'll most likely need to run chsh and enter /bin/bash as the shell
> to be used.
>> k.
>> --
> The duck quacks.
**************************************************************************
The information contained in this e-mail is confidential,
may be privileged and is intended only for the use of the
recipient named above. If you are not the intended
recipient or a representative of the intended recipient,
you have received this e-mail in error and must not copy,
use or disclose the contents of this email to anybody
else. If you have received this e-mail in error, please
notify the sender immediately by return e-mail and
permanently delete the copy you received. This email has
been swept for computer viruses. However, you should
carry out your own virus checks.
Registered in Ireland, No. 205721. http://www.FINEOS.com
**************************************************************************
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!