Red Hat ENTERPRISE LINUX 4 - SELINUX GUIDE Guida Utente Pagina 43

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 128
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 42
Administrative Controls
33
Figure 2.2. Adding users to the "wheel" group.
Open the PAM configuration file for su (/etc/pam.d/su) in a text editor and remove the comment #
from the following line:
auth required /lib/security/$ISA/pam_wheel.so use_uid
This change means that only members of the administrative group wheel can use this program.
Note
The root user is part of the wheel group by default.
2.1.4.3.2. The sudo Command
The sudo command offers another approach to giving users administrative access. When trusted
users precede an administrative command with sudo, they are prompted for their own password.
Then, when they have been authenticated and assuming that the command is permitted, the
administrative command is executed as if they were the root user.
The basic format of the sudo command is as follows:
sudo <command>
In the above example, <command> would be replaced by a command normally reserved for the root
user, such as mount.
Vedere la pagina 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 127 128

Commenti su questo manuale

Nessun commento