login success only once
Denis Vlasenko
vda.linux at googlemail.com
Wed Apr 4 22:29:41 UTC 2007
On Monday 02 April 2007 05:08, kaimi wrote:
> > Can you dig a bit deeper? Where exactly it fails for you?
>
> my /etc/profile followed:
> export LD_LIBRARY_PATH=/lib:/usr/lib
> echo "export PATH in /etc/profile"
> export PATH=/bin:/sbin:/usr/bin:/usr/sbin
>
> the startup messages followed:
> ARM login: root
> Password:
> export PATH in /etc/profile
> [root at ARM ~]# logout
> ARM login: root
> Password:
> export PATH in /etc/profile
> [root at ARM ~]# login
> ARM login: root
>
> you can see, at startup, login works, it works after logout as well, but
> it's failed if login on shell prompts. how to trace the exact point? thanks
You can add printf("marker N\n") into login in various places
and find out where it stops.
--
vda
More information about the busybox
mailing list