[TinyLogin] user login problem

Erik Andersen andersen at codepoet.org
Thu Jul 10 14:23:40 MDT 2003


On Wed Jul 09, 2003 at 06:11:00PM -0400, rsevenic at netscape.net wrote:
> I am setting up a wee demo floppy using busybox and tinylogin -
> so it's all x86. The rootfs was built with genromfs, but /etc
> (on a floppy) and /home (on a ramdisk - /dev/ram1) are
> read/write.
> 
> I can successfully change the root password. When I add a user
> it appears sucessful with new entries in /etc/passwd and
> /etc/shadow etc. It also adds a directory in /home as expected.
> However, I see these behaviors:
> 
> * an attempted login as this user fails with message "no valid
> shadow password"

Hmmm.  What version of tinylogin?  Are you starting off with
a valid password, group, and shadow file?

> * If I login as root I can su to this user, but it does not
> place me in that user's home directory.

Certainly sounds like the /etc/passwd is not setup as
expected...

> /bin/tinylogin is setuid

Good.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the tinylogin mailing list