On Mon, Jan 5, 2009 at 5:52 AM, Tom Panzarella
<> wrote:
> Hello,
>
> I have been working with the TS-7300 for a few years now and we are
> getting ready to start moving our applications to the TS-7800. When
> working with the 7800 it follows a similar paradigm as the 7300 in
> that there is the "fastboot" or "busybox" environment as well as the
> "full boot" or Debian environment. I am trying to set the root
> password on the board. When in Debian ("full boot") the UNIX passwd
> utility works as expected. I now have a root password and can run sshd
> to authenticate root using that new password. In the busybox
> ("fastboot") environment, that does not seem to work. Initially, I
> expected the authentication process of the fastboot environment to
> simply reference the new /etc/passwd file (created by setting the root
> password via Debian). I still can log in to the board in the
> "fastboot" environment using telnet (root w/ no password) and sshd
> will not allow me to log in as root in the fastboot envrionment b/c it
> is having trouble with the new password. So, I tried to re-run
> 'passwd' from fastboot to see if that helped, but the filesystem on
> which /etc/passwd is located is mounted read-only. So, I remounted it
> as read-write, ran 'passwd', then remounted as 'read-only'. It seemed
> to work. After rebooting, sshd would not authenticate root using the
> new password in the fastboot environemnt and via telnet root could
> still log in w/o a password. When full booting into Debian, sshd (and
> telnet) authenticates root with the new password without a problem.
>
> With all of the above background being said... does anyone have advice
> on how to set a root password on the TS-7800 that will be applied in
> both the fullboot/Debian environment as well as the fastboot/Busybox
> environment?
>
Don't forget that when you are running from the fastboot env you are
running from ram via a ramdisk. Any changes that you make will be lost
after reboot. You need to set the password in the on board flash or
sdcard partition for the initrd. That would be partition 3 on the
sdcard. Don't remember which partition that would be for the on board
flash.
For on board flash, I vaguely remember that there is a utility to safe
the fastboot ramdisk to initrd partition, I think that it is in /lbin.
For SD cards, I usually just mount it on my linux laptop and make any
changes to the initrd from there.
Hope that helps.
Ted Roth
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|