FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: fini am 04 August 2017, 06:21:10

Titel: SecurityCheck
Beitrag von: fini am 04 August 2017, 06:21:10
Moin,

bekomme auf einmal wenn ich was anlege oder lösche in Fhem diese Meldung:


SecurityCheck:
telnetPort has no associated allowed device with password/globalpassword.

Restart FHEM for a new check if the problem is fixed,
or set the global attribute motd to none to supress this message.


ok, wir hatte gestern hier Stromausfall. Villeicht hat es da was zerschossen?
Ja, ich habe gesucht aber nichts genaues gefunden was mir weiter hilft.

Danke für Eure Hilfe!

Fini

Titel: Antw:SecurityCheck
Beitrag von: pataya am 04 August 2017, 07:50:25
Ich glaube nicht, dass du gesucht hast.

https://fhem.de/commandref_DE.html#telnet (https://fhem.de/commandref_DE.html#telnet)
https://forum.fhem.de/index.php?topic=36808.0 (https://forum.fhem.de/index.php?topic=36808.0)
https://forum.fhem.de/index.php?topic=12343.0 (https://forum.fhem.de/index.php?topic=12343.0)
https://forum.fhem.de/index.php?topic=22729.0 (https://forum.fhem.de/index.php?topic=22729.0)
Titel: Antw:SecurityCheck
Beitrag von: fini am 04 August 2017, 09:09:54
hab die oberen Links alle schon durch.
Bringt mich nicht weiter.

Eingetragen ist bei mir:


define telnetPort telnet 7072 global


Ich habe auch mal die fhem.cfg mit einer alten verglichen.
Alles wie vorher.

Was mir aufgefallen ist...
In device global steht im Attributes motd der Text

SecurityCheck:

telnetPort has no associated allowed device with password/globalpassword.

Restart FHEM for a new check if the problem is fixed,
or set the global attribute motd to none to supress this message.


Fini


Titel: Antw:SecurityCheck
Beitrag von: CoolTux am 04 August 2017, 09:21:32
Zitat von: fini am 04 August 2017, 09:09:54
Was mir aufgefallen ist...
In device global steht im Attributes motd der Text

SecurityCheck:

telnetPort has no associated allowed device with password/globalpassword.

Restart FHEM for a new check if the problem is fixed,
or set the global attribute motd to none to supress this message.


Wenn Dir das sogar schon aufgefallen ist, warum machst Du nicht was da steht.
Titel: Antw:SecurityCheck
Beitrag von: mahowi am 04 August 2017, 09:34:13
Steht doch da! Es gibt kein "allowed"-Gerät mit gesetztem Paßwort für telnetPort.
Zitat von: fini am 04 August 2017, 09:09:54

SecurityCheck:

telnetPort has no associated allowed device with password/globalpassword.

Also entsprechendes Gerät anlegen:
defmod allowed_telnetPort allowed
attr allowed_telnetPort validFor telnetPort


Paßwort setzen:
set allowed_telnetPort globalpassword geheim

Fertig! Darauf könnte man aber auch kommen, wenn man sich die Links durchliest.
Titel: Antw:SecurityCheck
Beitrag von: pataya am 04 August 2017, 09:52:14
Oder, sollte Telnet eh nicht genutzt werden, einfach löschen:
delete telnetPort
Titel: Antw:SecurityCheck
Beitrag von: nils_ am 04 August 2017, 10:59:43
Zitat von: fini am 04 August 2017, 06:21:10
bekomme auf einmal wenn ich was anlege oder lösche in Fhem diese Meldung:
das steht nicht "auf einmal" da, sondern schon sehr viel länger  ::)