* 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

Could you be so nice to warp the lines after 70 characters?

Cheers,
-- 
Alfred M. Szmidt


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Reply via email to