Re: strange result when typing wrong password
On 05 Jun 2002 22:37:38 +0200
ams@kemisten.nu (Alfred M. Szmidt) wrote:
> * Niklas S�öderlund writes:
> > All I did was to change directory to /, issue "login root" and type
> > in the wrong password. usually, if i am standing in /etc/login/ it
> > only says "login: Invalid password", but in another working
> > directory it tries to login.
>
> This is because of a bug in the .bash_login script. When you change
> to / it tries to read ".bashrc" and ".profile", which obviously don't
> exist. When you're in /etc/login this works as they are located
> there. Fix for this is to append an absolute path to .bashrc and
> .profile in /etc/login/.bash_login
Ah, ofcourse. Thanks
>
> Could you be so nice to warp the lines after 70 characters?
sorry, I'll do that in the future :)
>
> Cheers,
> --
> Alfred M. Szmidt
>
>
> --
> To UNSUBSCRIBE, email to debian-hurd-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
--
To UNSUBSCRIBE, email to debian-hurd-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: