Opened 12 years ago

Closed 12 years ago

#467 closed defect (fixed)

rc5 failsafe mode doen't allow telnet access on jffs image

Reported by: chris@… Owned by: developers
Priority: normal Milestone: 0.9/rc6
Component: base system Version:
Keywords: failsafe telnetd /bin/login Cc:


running wrt54gs v1.1 with rc5 JFFS image

in failsafe mode, I was unable to telnet to the router. telnetd behaved as if the router was not in failsafe mode.
I found that I had to add a test to /bin/login for failsafe mode
to allow telnet access. see below

[ "$FAILSAFE" != "true" ] &&
grep '^root:[^!]' /etc/passwd >&- 2>&- &&
    echo "Login failed."
    exit 0
  } || {
cat << EOF
 === IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by mbm

  • Resolution set to fixed
  • Status changed from new to closed

previously fixed in [3538]

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.