Re: [blfs-support] Unable to login with Linux-PAM - fixed, but still errors

2015-09-28 Thread Wayne Sallee
On 09/28/2015 01:04 PM, Bruce Dubbs wrote: Wayne Sallee wrote: On 09/27/2015 05:55 PM, Bruce Dubbs wrote: Maybe the mistake is that that same command is in the .bashrc pointing back to itself. Perhaps, but where did it come from? Not the book. Book 7.7: cat> ~/.bashrc<< "EOF" |#

Re: [blfs-support] Unable to login with Linux-PAM - fixed, but still errors

2015-09-28 Thread Bruce Dubbs
Wayne Sallee wrote: On 09/27/2015 05:55 PM, Bruce Dubbs wrote: Maybe the mistake is that that same command is in the .bashrc pointing back to itself. Perhaps, but where did it come from? Not the book. Book 7.7: cat> ~/.bashrc<< "EOF" |# Begin ~/.bashrc # Written for Beyond Linux From

Re: [blfs-support] Unable to login with Linux-PAM - fixed, but still errors

2015-09-28 Thread Wayne Sallee
On 09/27/2015 05:55 PM, Bruce Dubbs wrote: Maybe the mistake is that that same command is in the .bashrc pointing back to itself. Perhaps, but where did it come from? Not the book. Book 7.7: cat> ~/.bashrc<< "EOF" |# Begin ~/.bashrc # Written for Beyond Linux From Scratch # by James

Re: [blfs-support] Unable to login with Linux-PAM - fixed, but still errors

2015-09-27 Thread Bruce Dubbs
Wayne Sallee wrote: On 09/27/2015 09:37 AM, Wayne Sallee wrote: There's also a bug in the book where the root bash profile, and bashrc loop endlesly with each other. It gave me error when su to root, until I fixed it. |if [ -f "$HOME/.bashrc" ] ; then source $HOME/.bashrc fi| it's ok

Re: [blfs-support] Unable to login with Linux-PAM - fixed, but still errors

2015-09-27 Thread Wayne Sallee
On 09/27/2015 01:18 PM, Bruce Dubbs wrote: |if [ -f "$HOME/.bashrc" ] ; then source $HOME/.bashrc fi| it's ok for one to refer to the other, but creates an error when both refer to each other. The construct above is in ~/.bash_profile which is only called during an initial login. It

Re: [blfs-support] Unable to login with Linux-PAM - fixed, but still errors

2015-09-27 Thread Wayne Sallee
There's also a bug in the book where the root bash profile, and bashrc loop endlesly with each other. It gave me error when su to root, until I fixed it. Wayne Sallee wa...@waynesallee.com On 09/20/2015 08:59 PM, Bruce Dubbs wrote: Ken Moffat wrote: On Mon, Sep 21, 2015 at 12:49:51AM +0100,

Re: [blfs-support] Unable to login with Linux-PAM - fixed, but still errors

2015-09-20 Thread Bruce Dubbs
Ken Moffat wrote: On Mon, Sep 21, 2015 at 12:49:51AM +0100, Ken Moffat wrote: On Sun, Sep 20, 2015 at 06:27:03PM -0500, Bruce Dubbs wrote: Ken Moffat wrote: Thanks. Didn't realise there was more to do there. But for ENV_HZ, the text you pasted implies it does not need to be defined, and