Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Sudo --> Fehler ???

Empfohlene Antworten

Tag @ all,

wollte mal SUDO auf unseren Test-Server aufprobiern, aber ich bekomm das nicht so ganz hin. Wenn ich die datei mit visudo bearbeite sie dann speichere und dann schliesen möchte, komm dann folgendes:


Warning: undeclared Host_Alias `SERVER' referenced near line 9

>>> sudoers file: syntax error, line 8 <<<

Warning: undeclared Host_Alias `ADMIN' referenced near line 12

>>> sudoers file: syntax error, line 11 <<<

Warning: undeclared Host_Alias `USER_VERWALTUNG' referenced near line 15

Warning: undeclared Host_Alias `PASSWORT_VERWALTUNG' referenced near line 16

Warning: undeclared User_Alias `ADMIN' referenced near line 20

Warning: undeclared Host_Alias `SERVER' referenced near line 20

Warning: undeclared Cmnd_Alias `USER_VERWALTUNG' referenced near line 20

Warning: undeclared User_Alias `ADMIN' referenced near line 21

Warning: undeclared Host_Alias `SERVER' referenced near line 21

Warning: undeclared Cmnd_Alias `PASSWORT_VERWALTUNG' referenced near line 21

Hab es local auf meinen Rechner probiert und es läuft, aber auf dem Server geht es nicht ?!? Kann es villeich an SSH liegen ??? Hier habe ich noch meine sudores Datei, villeicht kann mir mal einer Helfen.

# sudoers file.

#

# This file MUST be edited with the 'visudo' command as root.

#

# See the sudoers man page for the details on how to write a sudoers file.

#


# Host alias specification

 Host_alias SERVER = g8sxa


# User alias specification

User_alias ADMIN = test_user


# Cmnd alias specification

Cmnd_alias USER_VERWALTUNG = /usr/sbin/useradd

Cmnd_alias PASSWORT_VERWALTUNG = !/usr/bin/passwd, !/usr/bin/passwd root, /usr/bin/passwd [A-z]*


# User privilege specification

root    ALL=(ALL) ALL

ADMIN   SERVER = NOPASSWD: USER_VERWALTUNG

ADMIN   SERVER = NOPASSWD: PASSWORT_VERWALTUNG

Spufy

:mod:

Hallo,

da bin ich wieder. Also ich weiß auch nicht ... Aber jetzt funkt es :confused:

Hab einfach die sudoers datei gelösch und neu angelt, den Inhalt eingefügt und et voilà, es hat gefunzt !?

Spufy

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.