When I "su -" I get the following. Putting hooks into my .bash_profile file it does not get to that file, so it reads something before aht too? Tia nvlnxt21:/etc # su - -bash: listserv:/root: No such file or directory hit0 hit hit2 nvlnxt21:/root # cat .bas*pro* listserv:/root # cat .bash_profile # .bash_profile echo "hit0" # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi echo "hit" # User specific environment and startup programs set -o vi export PS1=`hostname`':$PWD # ' #export PATH echo "hit2"
When I "su -" I get the following. Putting hooks into my .bash_profile file it does not get to that file, so it reads something before aht too? Tia
nvlnxt21:/etc # su - -bash: listserv:/root: No such file or directory hit0 hit hit2 nvlnxt21:/root # cat .bas*pro* listserv:/root # cat .bash_profile # .bash_profile
echo "hit0" # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi echo "hit" # User specific environment and startup programs
set -o vi
export PS1=`hostname`':$PWD # ' #export PATH echo "hit2"
On Thursday 16 September 2004 00:16, Patrick B. O'Brien wrote: try typing this at the prompt PS1= [\u@\h: \W]# -- Chadley Wilson Production Line Supervisor Pinnacle Micro Manufacturers of Proline Computers ==================================== Exercise freedom, Use LINUX =====================================
On Thursday 16 September 2004 13:34, Chadley Wilson wrote: OOps I should have read your whole mail sorry, the files that control login are: /etc/bashrc /etc/bash_profile ~/.bashrc ~/.bash_profile I would suggest extracting the /etc/bash_profile from the cd again, I looks like the prob could be in there. It is read before .bashrc
On Thursday 16 September 2004 00:16, Patrick B. O'Brien wrote:
When I "su -" I get the following. Putting hooks into my .bash_profile file it does not get to that file, so it reads something before aht too? Tia
nvlnxt21:/etc # su - -bash: listserv:/root: No such file or directory hit0 hit hit2 nvlnxt21:/root # cat .bas*pro* listserv:/root # cat .bash_profile # .bash_profile
echo "hit0" # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi echo "hit" # User specific environment and startup programs
set -o vi
export PS1=`hostname`':$PWD # ' #export PATH echo "hit2"
try typing this at the prompt PS1= [\u@\h: \W]# -- Chadley Wilson Production Line Supervisor Pinnacle Micro Manufacturers of Proline Computers ==================================== Exercise freedom, Use LINUX =====================================
-- -- Chadley Wilson Production Line Supervisor Pinnacle Micro Manufacturers of Proline Computers ==================================== Exercise freedom, Use LINUX =====================================
On Thu, 2004-09-16 at 07:38, Chadley Wilson wrote:
On Thursday 16 September 2004 13:34, Chadley Wilson wrote: OOps I should have read your whole mail sorry, the files that control login are: /etc/bashrc /etc/bash_profile ~/.bashrc ~/.bash_profile I would suggest extracting the /etc/bash_profile from the cd again, I looks like the prob could be in there. It is read before .bashrc
On Thursday 16 September 2004 00:16, Patrick B. O'Brien wrote:
When I "su -" I get the following. Putting hooks into my .bash_profile file it does not get to that file, so it reads something before aht too? Tia
nvlnxt21:/etc # su - -bash: listserv:/root: No such file or directory
It seems as though /root is missing. Did you delete the folder perhaps by accident? -- Ken Schneider unix user since 1989 linux user since 1994 SuSE user since 1998 (5.2) * PLEASE only reply to the list *
participants (3)
-
Chadley Wilson
-
Ken Schneider
-
Patrick B. O'Brien