All of lore.kernel.org
 help / color / mirror / Atom feed
* root login over serial port using shadow
@ 2010-03-17 13:37 Eric Bénard
  2010-03-17 14:49 ` Marcin Juszkiewicz
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Bénard @ 2010-03-17 13:37 UTC (permalink / raw)
  To: openembedded-devel

Hi,

for the followinf, the distro in Angstrom.

When using shadow as the IMAGE_LOGIN_MANAGER, login doesn't work as root 
over the serial port if a password is set for root and whatever the 
setting done under securretty or /etc/security or /etc/login.defs

The problem is the following :
inittab says :
S:2345:respawn:/sbin/getty 115200 ttyS0

getty is using /bin/login as a default. But /bin/login is a link to 
busybox thus when login on the serial port, busybox's login will be used 
and not shadow's login which is at /usr/bin/login

changing inittab to :
S:2345:respawn:/sbin/getty 115200 ttyS0 -l /usr/bin/login
solves the problem.

Now the question : what is the right way to tell the shadow package to 
replace /bin/login of busybox by its proper /usr/bin/login when it's 
installed ?

Many thanks
Eric



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-17 16:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-17 13:37 root login over serial port using shadow Eric Bénard
2010-03-17 14:49 ` Marcin Juszkiewicz
2010-03-17 16:31   ` Eric Bénard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.