Ein proprietärer HP-Trieber verlangt nach sudo - aber die Eingabe wird nicht akzeptiert. Nehmen wir folgendes an: Anmeldename des Benutzers: Linus Passwort = microsoft Anmeldename auf der Kommandozeile des Admins: su Passwort = susanne in /etc/sudoers steht:
1 | Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:$ |
2 | |
3 | # Host alias specification
|
4 | |
5 | # User alias specification
|
6 | |
7 | # Cmnd alias specification
|
8 | |
9 | # User privilege specification
|
10 | root ALL=(ALL:ALL) ALL
|
11 | |
12 | # Members of the admin group may gain root privileges
|
13 | %admin ALL=(ALL) ALL
|
14 | |
15 | # Allow members of group sudo to execute any command
|
16 | %sudo ALL=(ALL:ALL) ALL
|
17 | |
18 | # See sudoers(5) for more information on "#include" directives: |
19 | |
20 | #includedir /etc/sudoers.d
|
Warum geht's nicht?