linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Re: RE: Password for embedded Linux
@ 2001-12-13 12:18 Gerhard TAEUBL
  0 siblings, 0 replies; 2+ messages in thread
From: Gerhard TAEUBL @ 2001-12-13 12:18 UTC (permalink / raw)
  To: linuxppc-embedded, Frederic.Goddeeris


I load the tinylogin and compile it (wow it works without any modification expect the path for corss compile), I could still login! But when I try passwd and enter for example root I get the error message to short. It didn't ask me for any old or new password, only it is to shoort. Also if I do telnet, it won't ask for any password only login I enter root, thats it! So what do I need?

jffs2: I didn't make tests with heavy load, I only copy some files to the disk and start it there. This I will do in January.

Gerhard

>>> Goddeeris Frederic <Frederic.Goddeeris@siemens.atea.be> 12/13/01 11:07 AM >>>
 My experience is that you need to include a lot of things for the login.
I used TinyLogin. This will provide everything you need (I also used
Busybox)
In /etc/inittab I added
	ttyS0::respawn:/sbin/getty -L ttyS0 9600 vt100
/sbin/getty points to TinyLogin
getty -> ../bin/tinylogin

You have good experience with JFFS2? What version do you use?

Fred

-----Original Message-----
From: Gerhard TAEUBL
To: linuxppc-embedded@lists.linuxppc.org
Sent: 12/13/01 10:49 AM
Subject: Password for embedded Linux


Hi!

We use HHL1.2 filesystem for a MPC860. Meanwhile everthing works fine
:-) (serial port, jffs2 and so on). I've made a initrd to boot the
system and mount 4MB Flash where the project related data and programs
will be copied. So we could use for nearly every project the same image,
and store the data afterwards via ftp. O.K. but we want to use a
password to login, and I didn't find any hint to do that! So if you have
any ideas...
Thanks in advance
Gerhard


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread
* RE: RE: Password for embedded Linux
@ 2001-12-13 12:57 Goddeeris Frederic
  0 siblings, 0 replies; 2+ messages in thread
From: Goddeeris Frederic @ 2001-12-13 12:57 UTC (permalink / raw)
  To: 'Gerhard TAEUBL ',
	'linuxppc-embedded@lists.linuxppc.org ',
	Goddeeris Frederic


I suppose you now have a /etc/passwd that does not specify any password for
root. So it is normal it does not ask for one when logging in, telnet to it
or change the pw.

"root" as pw is too small, take something different but when you insist and
enter it a second time it should accept it...

telnet otncllf
Trying 193.210.198.203...
Connected to otncllf.atea.be.
Escape character is '^]'.

target login: root
Password:
Linux target 2.4.2_hhl20 #44 Wed Dec 12 14:21:21 CET 2001 ppc unknown

Welcome to MontaVista Software's Hard Hat Linux.



BusyBox v0.60.2 (2001.11.28-10:02+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# passwd
Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)

                         Please use a combination of upper and lower case
letters and numbers.
Enter new password:
Bad password: too short.

Warning: weak password (continuing).
Re-enter new password:
Password changed.
#

-----Original Message-----
From: Gerhard TAEUBL
To: linuxppc-embedded@lists.linuxppc.org; Frederic.Goddeeris@siemens.atea.be
Sent: 12/13/01 1:18 PM
Subject: Re: RE: Password for embedded Linux


I load the tinylogin and compile it (wow it works without any
modification expect the path for corss compile), I could still login!
But when I try passwd and enter for example root I get the error message
to short. It didn't ask me for any old or new password, only it is to
shoort. Also if I do telnet, it won't ask for any password only login I
enter root, thats it! So what do I need?

jffs2: I didn't make tests with heavy load, I only copy some files to
the disk and start it there. This I will do in January.

Gerhard

>>> Goddeeris Frederic <Frederic.Goddeeris@siemens.atea.be> 12/13/01
11:07 AM >>>
 My experience is that you need to include a lot of things for the
login.
I used TinyLogin. This will provide everything you need (I also used
Busybox)
In /etc/inittab I added
	ttyS0::respawn:/sbin/getty -L ttyS0 9600 vt100
/sbin/getty points to TinyLogin
getty -> ../bin/tinylogin

You have good experience with JFFS2? What version do you use?

Fred

-----Original Message-----
From: Gerhard TAEUBL
To: linuxppc-embedded@lists.linuxppc.org
Sent: 12/13/01 10:49 AM
Subject: Password for embedded Linux


Hi!

We use HHL1.2 filesystem for a MPC860. Meanwhile everthing works fine
:-) (serial port, jffs2 and so on). I've made a initrd to boot the
system and mount 4MB Flash where the project related data and programs
will be copied. So we could use for nearly every project the same image,
and store the data afterwards via ftp. O.K. but we want to use a
password to login, and I didn't find any hint to do that! So if you have
any ideas...
Thanks in advance
Gerhard


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2001-12-13 12:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-13 12:18 RE: Password for embedded Linux Gerhard TAEUBL
  -- strict thread matches above, loose matches on Subject: below --
2001-12-13 12:57 Goddeeris Frederic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).