From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Tue, 14 Dec 2010 16:37:54 +0100 Subject: [Buildroot] cannot log to my build root In-Reply-To: References: <20101214142544.7863d2d2@surf> <20101214150520.253b9bae@surf> <20101214154228.51a969b6@surf> <20101214160558.325cddcb@surf> Message-ID: <20101214163754.6b1e664f@surf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Tue, 14 Dec 2010 17:28:54 +0200 Diego Iastrubni wrote: > > This last line "can't access tty; job control turned off" means that > > the shell has been started directly on /dev/console, which is normal is > > you start a shell directly from an init.d script, because those scripts > > are executed with /dev/console as the standard input, standard output, > > standard err. > > Not that I am aware of. Huh, sorry ? > I probably did not express myself properly. I do soo login (which is started > by getty). The only problem is that whatever I do in "login" I get kicked > out - > > buildroot login: root > Password: *[just enter]* > Login incorrect > > The sad thing is that I do remember that once it did work and I would get by > just typing the username. Do you have the default /etc/securetty file, the default /etc/passwd and the default /etc/shadow files ? I tested a basic Buildroot build just two days ago, and I could log in as root on ttyS0 without any problem. Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com