bash_profile

Scott Swanson DrMemory at starband.net
Mon Sep 13 09:41:14 PDT 2004


On Sat, 11 Sep 2004, Jeremy Huntwork wrote:

> You may try removing those files from /home/lfs (or wherever lfs' home
> dir is) and just login again as lfs.  Make sure that your host is first
> properly setting up default settings for users, i.e. you have a proper
> prompt $PATH, etc.

Beginning environment:
PWD=/home/lfs
http_proxy=http://192.168.0.1:4480
LC_MESSAGES=en
HOSTNAME=DrMemory
LESSKEY=/etc/.less
LESSOPEN=|/usr/bin/lesspipe.sh %s
LANGUAGE=en_US:en
SIAGHOME=/usr/share/siag
PS1=\s-\v\$ 
KDEDIR=/usr
FTP_FIREWALL=192.168.0.1:4421
NNTPSERVER=192.168.0.1:119
LESS=-MM
USER=lfs
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.tar=01;31:*.tgz=01;31:*.tbz2=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lha=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:*.tiff=01;35:
LC_TIME=en
MACHTYPE=i586-mandrake-linux-gnu
MAIL=/var/spool/mail/lfs
INPUTRC=/etc/inputrc
LANG=en
LC_NUMERIC=en
LOGNAME=lfs
SHLVL=1
LC_CTYPE=en
https_proxy=http://192.168.0.1:4480
SHELL=/bin/bash
HOSTTYPE=i586
ftp_proxy=http://192.168.0.1:4480/
OSTYPE=linux-gnu
HISTSIZE=1000
HOME=/home/lfs
TERM=linux
PATH=/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
SECURE_LEVEL=2
RPM_INSTALL_LANG=en_US:en
LC_MONETARY=en
LC_COLLATE=en
_=/usr/bin/printenv

> 
> If so, then as lfs run the commands again on that page for setting up
> the environment.  Make sure you "source ~/.bash_profile"
> 
> 

Put files in place:

total 20
drwxr-xr-x    2 lfs      lfs          4096 Sep 13 10:30 ./
drwxr-xr-x   14 root     root         4096 Sep  9 14:18 ../
-rw-------    1 lfs      lfs            76 Sep 13 10:30 .bash_history
-rw-r--r--    1 lfs      lfs           139 Sep 13 10:30 .bash_profile
-rw-r--r--    1 lfs      lfs            96 Sep 13 10:30 .bashrc

Sourced .bash_profile:

PWD=/home/lfs
HOSTNAME=DrMemory
PS1=\u:\w\$ 
MACHTYPE=i586-mandrake-linux-gnu
LC_ALL=POSIX
SHLVL=1
LFS=/mnt/lfs
SHELL=/bin/bash
HOSTTYPE=i586
OSTYPE=linux-gnu
HOME=/home/lfs
TERM=linux
PATH=/tools/bin:/bin:/usr/bin
_=/usr/bin/printenv

Logged out, logged back in:

  Same problem. No prompt, no interaction

Confused.







More information about the lfs-support mailing list