[lfs-support] PS1 for user lfs

Bruce Dubbs bruce.dubbs at gmail.com
Fri Apr 20 14:22:59 PDT 2012

Philippe Delavalade wrote:

> .bashrc and .bash_profile are exactly those of the book :-(
> My only deviation from the book is to have given a specific gid and uid to
> lfs when executing groupadd and useradd, but I think it's not the reason
> why PS1 goes wrong. 

Setting a specific uid and gid will not affect anything.

What are the results of the host system requirements in section vii?

What happens if you just run `env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' 
/bin/bash` from the command prompt?

What is the full output of `set`?

   -- Bruce

More information about the lfs-support mailing list