login profile errors

Tijnema ! tijnema at gmail.com
Wed Feb 21 23:49:29 PST 2007


On 2/18/07, Steffen H. Larsen <helbo15 at gmail.com> wrote:
>
> when I log in with whatever user I get this error messeage but are able to
> continue :
>
>
> : command not found
> : command not found
> : command not found
> 'bash: /etc/profile: line 12: syntax error near unexpected token '{
> 'bash: /etc/profile: line 12: 'pathremove () {
> : command not found
> : command not found
> : command not found
> 'bash: .bash_profile: line 12: syntax error near unexpected token '{
> 'bash: .bash_profile: line 12: 'append () {
>
> I allso get this error when logging out
>
> : command not found
> : command not found
>
> why does those scripts make those errors ?
>
>
> --
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>


It might also be that one of your config files are in DOS format. try
converting them to UNIX format with dos2unix <filename>
dos2unix /etc/profile
for example

tijnema
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20070222/b64ed18b/attachment.html>


More information about the blfs-support mailing list