Regex Muster zu Bearbeiten /etc/sudoers-Datei

Möchte ich entfernen (uncommnet #) Rad-Gruppe in /etc/sudoers-Datei was wäre also die Regex-pattern sollte ich verwenden?

#cat /etc/sudoers
....
....
## Allows members of the 'sys' group to run networking, software,
## service management apps and more.
# %sys ALL = NETWORKING, SOFTWARE, SERVICES, STORAGE, DELEGATING, PROCESSES, LOCATE, DRIVERS

## Allows people in group wheel to run all commands
# %wheel        ALL=(ALL)       ALL

## Same thing without a password
# %wheel  ALL=(ALL)       NOPASSWD: ALL

....
....

Möchte ich entfernen # aus folgenden Zeile.

...
# %wheel  ALL=(ALL)       NOPASSWD: ALL
...
InformationsquelleAutor Satish | 2012-05-02
Schreibe einen Kommentar