From: "Gerhard TAEUBL" <Gerhard.TAEUBL@frequentis.com>
To: <linuxppc-embedded@lists.linuxppc.org>,
<Frederic.Goddeeris@siemens.atea.be>
Subject: Re: RE: RE: Password for embedded Linux
Date: Thu, 13 Dec 2001 14:31:32 +0100 [thread overview]
Message-ID: <sc18bbdf.069@mail.frequentis.com> (raw)
The problem is, that the line
Password:
after login dosen't comes up! Also after calling passwd, only
#passwd
Changing password for root
Bad password: too short.
Warning: weak password (continuing).
Password changed.
#
appears. I think something necessary isn't on the filesystem, but I don't know what!
>>> Goddeeris Frederic <Frederic.Goddeeris@siemens.atea.be> 12/13/01 13:57 PM >>>
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), 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/
next reply other threads:[~2001-12-13 13:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-13 13:31 Gerhard TAEUBL [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-12-13 14:49 RE: RE: Password for embedded Linux Goddeeris Frederic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sc18bbdf.069@mail.frequentis.com \
--to=gerhard.taeubl@frequentis.com \
--cc=Frederic.Goddeeris@siemens.atea.be \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).