Fehlermeldung Firewall "sudo: a terminal is required to read the password"  [GELÖST]

Locked
racmo
Posts: 33
Joined: Fri 22. Apr 2016, 17:16

Fehlermeldung Firewall "sudo: a terminal is required to read the password"

Post by racmo »

Guten Morgen,

wenn ich die neue von Keyhelp 20.3 aktivieren will, erhalte ich leider die Fehlermeldung:

Code: Select all

Fehler beim Übernehmen der Firewall-Regeln.
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
Grüße
User avatar
Alexander
Keyweb AG
Posts: 4449
Joined: Wed 20. Jan 2016, 02:23

Re: Fehlermeldung Firewall "sudo: a terminal is required to read the password"

Post by Alexander »

Hallo,

Kannst du mal schauen, an welcher Stelle bei dir im System die iptables binaries liegen (CLI Befehl z.b.: "locate iptables") und wie deine /etc/sudoers.d/keyhelp aussieht. Als Bonus, gern auch mal deine KeyHelp-Build Nummer - zu finden auf dem Admin-Dashboard, neben der KeyHelp-Versionsnummer.

Die Angaben bräuchte ich einmal, dann kann ich dir weiterhelfen.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
racmo
Posts: 33
Joined: Fri 22. Apr 2016, 17:16

Re: Fehlermeldung Firewall "sudo: a terminal is required to read the password"

Post by racmo »

Hallo,

bei der Abfrage von "locate iptables" kommt gar nichts.

/etc/sudoers.d/keyhelp

Code: Select all

# Manage system services
keyhelp ALL = (ALL) NOPASSWD: /usr/sbin/service

# Mail queue management
keyhelp ALL = (ALL) NOPASSWD: /usr/sbin/postsuper

# Server reboot
keyhelp ALL = (ALL) NOPASSWD: /sbin/reboot

# Process management
keyhelp ALL = (ALL) NOPASSWD: /bin/kill

# Disk usage
keyhelp ALL = (ALL) NOPASSWD: /usr/bin/du
keyhelp ALL = (ALL) NOPASSWD: /usr/bin/test

# Firewall
keyhelp ALL = (ALL) NOPASSWD: /usr/sbin/iptables, /sbin/iptables
keyhelp ALL = (ALL) NOPASSWD: /usr/sbin/iptables-restore, /sbin/iptables-restore
keyhelp ALL = (ALL) NOPASSWD: /usr/sbin/iptables-save, /sbin/iptables-save
keyhelp ALL = (ALL) NOPASSWD: /usr/sbin/ip6tables, /sbin/ip6tables
keyhelp ALL = (ALL) NOPASSWD: /usr/sbin/ip6tables-restore, /sbin/ip6tables-restore
keyhelp ALL = (ALL) NOPASSWD: /usr/sbin/ip6tables-save, /sbin/ip6tables-save

# Last line must be empty, do not trim!

Die Keyhelp Build Nummer ist 2077
User avatar
Alexander
Keyweb AG
Posts: 4449
Joined: Wed 20. Jan 2016, 02:23

Re: Fehlermeldung Firewall "sudo: a terminal is required to read the password"  [GELÖST]

Post by Alexander »

Dann ist iptables bei dir nicht installiert?! Installiere bitte einmal iptables (apt-get install iptables).
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
racmo
Posts: 33
Joined: Fri 22. Apr 2016, 17:16

Re: Fehlermeldung Firewall "sudo: a terminal is required to read the password"

Post by racmo »

Stimmt, war aus welchem Grund auch immer nicht installiert.

Danke dir )
Locked