nekromant / esp8266-frankenstein

Alternative firmware for ESP8266 modules
318 stars 71 forks source link

Telnet needs authorisation #54

Closed nekromant closed 6 years ago

nekromant commented 9 years ago

Otherwise we'll forget about it.

d-a-v commented 9 years ago

On mar., mars 24, 2015 at 08:09:01 -0700, Andrew wrote:

Otherwise we'll forget about it.

Do you mean a password ?

I've been thinking of a no-auth telnet but auth required for sensible commands through telnet so anyone could read sensors but not reset nor tftp update nor show env (showing passwords), ... unless authorized through a sort of sudo command.

nekromant commented 9 years ago

That mode would require a lot of hackery as I see it. e.g. add permission section for every command. Just adding a plain login/password prompt that can be turned off should be enough. Automated scripts will have no problem to supply that.

darkbyte-ru commented 9 years ago

For single user mode only password check will be enough. If password was not set in env, so allow auth to everyone.

nekromant commented 9 years ago

@darkbyte-ru Sound's like it should be enough.

nekromant commented 6 years ago

Implemented in current master, closing this issue.