sudo



Liczniki odwiedzin | Księgi gości | Metal Lyrics | Znaczenie imion | Konwerter | Wolne domeny | Informacje o samochodach | Zakupy w UK | | | | | | | wyposażenie warsztatów | Wypoczynek nad jeziorami




NAME

       sudo - execute a command as the superuser

       visudo - edit the sudoers file



SYNOPSIS

       sudo command



DESCRIPTION

       Sudo  allows  a permitted user to execute a command as the
       superuser.  Sudo determines who is an authorized  user  by
       consulting  the file /etc/sudoers.  Sudo will prompt for a
       user's password to initiate a validation period of N  min-
       utes (where N is defined at installation time and defaults
       to 5 minutes).

       The sudoers file is composed of  an  optional  host  alias
       section,  an  optional  command alias section and the user
       specification section. All command or host aliases need to
       start       with       their      respective      keywords
       (Host_Alias/Cmnd_Alias).  Note that only the first  occur-
       rance of a user name will be significant in the user spec-
       ification section.

       user specification format:
         user access_group [: access_group] ...

           access_group ::= host_type = [op]cmnd_type [,[op]cmnd_type] ...
              host_type ::= a lower-case host name OR a host alias.
              cmnd_type ::= an command OR a command alias.
                     op ::= the logical '!' NOT operator.

       host alias section format:
         Host_Alias HOSTALIAS = host-list

             Host_Alias ::= a keyword.
              HOSTALIAS ::= an upper-case alias name.
              host-list ::= a comma separated list of hosts.

       command alias section format:
         Cmnd_Alias CMNDALIAS = cmnd-list

             Cmnd_Alias ::= a keyword.
              CMNDALIAS ::= an upper-case alias name.
              cmnd-list ::= a comma separated list commands.

       Text after a pound sign '#' is considered a comment.
       Long lines can be newline escaped with the backslash '\' character.
       The reserved alias 'ALL' can be used for both {Host,Cmnd}_Alias'.
           DO NOT define an alias of 'ALL', it will NOT be used.
           Note that 'ALL' implies the entire universe of hosts/commands.
           You can subtract elements from the universe by using the syntax:
              user  host=ALL,!ALIAS1,!/etc/halt...

       Examples

           # Host alias specification
           Host_Alias  HUB=houdini.rootgroup.com:\
                       REMOTE=merlin,kodiakthorn,spirit
           Host_Alias  MACHINES=kalkan,alpo,milkbones
           Host_Alias  SERVERS=houdini,merlin,kodiakthorn,spirit

           # Command alias specification
           Cmnd_Alias  LPCS=/usr/etc/lpc,/usr/ucb/lprm
           Cmnd_Alias  SHELLS=/bin/sh,/bin/csh,/bin/tcsh
           Cmnd_Alias  MISC=/bin/rm,/bin/cat:\
                       SHUTDOWN=/etc/halt,/etc/shutdown

           # User specification
           britt       REMOTE=SHUTDOWN:ALL=LPCS
           robh        ALL=ALL,!SHELLS
           nieusma     SERVERS=SHUTDOWN,/etc/reboot:\
                       HUB=ALL,!SHELLS
           jill        houdini.rootgroup.com=/etc/shutdown,MISC
           markm       HUB=ALL,!MISC,!/etc/shutdown,!/etc/halt
           billp       ALL=/usr/local/bin/top:MACHINES=SHELLS
           davehieb    merlin=ALL:SERVERS=/etc/halt:\
                       kodiakthorn=ALL

       The above sudoers file specification is composed of 4 host
       alias specifications, 4 command alias specifications and 7
       user  specifications.   Britt  is  permitted  to   execute
       /etc/halt,  /etc/shutdown,  /usr/etc/lpc and /usr/ucb/lprm
       on the REMOTE machines (merlin, kodiakthorn, and  spirit).
       Robh  is  permitted  to execute any command except for the
       group of SHELL commands on any machine.  Jill is permitted
       to  execute  /etc/shutdown,  /bin/rm, and /bin/cat on hou-
       dini.  Davehieb can execute any command on machines merlin
       and kodiakthorn and can halt the SERVERS.

       The  sudoers  file  SHOULD be edited by the visudo command
       which locks the file and does  gramatical  checking.  This
       provides  a  mechanism for the prevention of stupid syntax
       errors.

       Sudo was designed to log via the 4.3 BSD syslogging facil-
       ity but can log to a file instead if so desired.

       If  an  unauthorized user executes sudo, mail will be sent
       from the user to the local authorities (defined at instal-
       lation time).

       All  preferences  are defined at installation time and are
       derived from the sudo.h include file and the Makefile.



FUTURE ENHANCEMENTS

       Allow nesting of host and command aliases.
       Allow the host specifier in the sudoers file
           to use universe notation (user ALL,!SERVERS, ... = commands).
       Allow user aliases in the sudoers file (like host/command aliases).
       Have visudo do more extensive checking on the sudoers file.



FILES

       /etc/sudoers                 file of authorized users.
       /etc/stmp                    lock file for visudo.
       /usr/local/bin/sudo          the executable itself.
       /usr/local/etc/visudo        utility for modifying the sudoers file.



AUTHORS

       Jeff Nieusma                 <nieusma@rootgroup.com>
       David Hieb                   <davehieb@rootgroup.com>



DISCLAIMER

       This program is distributed in the hope that  it  will  be
       useful, but WITHOUT ANY WARRANTY; without even the implied
       warranty of MERCHANTABILITY or FITNESS  FOR  A  PARTICULAR
       PURPOSE.   See  the  GNU  General  Public License for more
       details.

       You should have received a copy of the GNU General  Public
       License along with this program; if not, write to the Free
       Software Foundation, Inc., 675  Mass  Ave,  Cambridge,  MA
       02139, USA.



CAVEATS

       There is no easy way to prevent a user from gaining a root
       shell if that user has access to commands that  are  shell
       scripts or that allow shell escapes.



SEE ALSO

       su(1)

  Księgarnia

- Oferta księgarni Mentis
- Oferta księgarni Onepress
- Linux Manual (english)
- Konstytucje
- Kręgosłup, bóle karku
- Elektroniczne książki
- Prasa elektroniczna
- Gry RPG, figurki
- darmowy słownik on-line
- jubiler - biżuteria
- polityka prywatności





Linux - Welsh Matt, Dalheimer Matthias Kalle, Kaufman Lar Linux
Autor: Welsh Matt, Dalheimer Matthias Kalle, Kaufman Lar
Cena: 85.44
Rok wydania: 2000
Wydawnictwo: Read Me
Ilość stron: 700
Linux - bezpieczeństwo serwerów - Michael D.Bauer Linux - bezpieczeństwo serwerów
Autor: Michael D.Bauer
Cena: 58.88
Rok wydania: 2003
Wydawnictwo: Read Me
Ilość stron: 488
Linux kernel - Daniel P. Bovet, Marco Cesati Linux kernel
Autor: Daniel P. Bovet, Marco Cesati
Cena: 85.44
Rok wydania: 2001
Wydawnictwo: Read Me
Ilość stron: 634
Linux. Programowanie dla zaawansowanych - Mark Mitchell. Jeffrey Oldham, Alex Samuel Linux. Programowanie dla zaawansowanych
Autor: Mark Mitchell. Jeffrey Oldham, Alex Samuel
Cena: 42.32
Rok wydania: 2002
Wydawnictwo: Read Me
Ilość stron: 300
Linux: Systemy plików - Moshe Bar Linux: Systemy plików
Autor: Moshe Bar
Cena: 51.52
Rok wydania: 2002
Wydawnictwo: Read Me
Ilość stron: 332
Linux. Archiwizacja danych - Leszek Madeja Linux. Archiwizacja danych
Autor: Leszek Madeja
Cena: 17.60
Rok wydania: 2003
Wydawnictwo: Mikom
Ilość stron:
Linux i galanteria SCSI - Leszek Madeja Linux i galanteria SCSI
Autor: Leszek Madeja
Cena: 10.80
Rok wydania: 2003
Wydawnictwo: Mikom
Ilość stron: 88
Bezpieczeństwo systemu Linux - Ramón J. Honta&ntilde;ón Bezpieczeństwo systemu Linux
Autor: Ramón J. Honta&ntilde;ón
Cena: 44.62
Rok wydania: 2002
Wydawnictwo: Mikom
Ilość stron: 464
Korzystanie z drukarki. Ćwiczenia z systemu Linux - Leszek Madeja Korzystanie z drukarki. Ćwiczenia z systemu Linux
Autor: Leszek Madeja
Cena: 16.80
Rok wydania: 2000
Wydawnictwo: Mikom
Ilość stron: 192
Korzystanie z pomocy. Ćwiczenia z systemu Linux - Leszek Madeja Korzystanie z pomocy. Ćwiczenia z systemu Linux
Autor: Leszek Madeja
Cena: 15.40
Rok wydania: 2000
Wydawnictwo: Mikom
Ilość stron: 152
Linux - książka kucharska - Michael Stutz Linux - książka kucharska
Autor: Michael Stutz
Cena: 47.84
Rok wydania: 2002
Wydawnictwo: Mikom
Ilość stron: 488
Linux. Gniazda w programowaniu - Woren W. Gay Linux. Gniazda w programowaniu
Autor: Woren W. Gay
Cena: 47.29
Rok wydania: 2001
Wydawnictwo: Mikom
Ilość stron: 552
LINUX. Rozwiązywanie problemów - Brian Ward LINUX. Rozwiązywanie problemów
Autor: Brian Ward
Cena: 33.92
Rok wydania: 2001
Wydawnictwo: Mikom
Ilość stron: 312
Midnight Commander. Ćwiczenia z systemu Linux - Leszek Madeja Midnight Commander. Ćwiczenia z systemu Linux
Autor: Leszek Madeja
Cena: 23.80
Rok wydania: 2000
Wydawnictwo: Mikom
Ilość stron: 272
Red Hat Linux 6.2 same konkrety - Bob Rankin Red Hat Linux 6.2 same konkrety
Autor: Bob Rankin
Cena: 39.74
Rok wydania: 2000
Wydawnictwo: Mikom
Ilość stron: 372
Caldera Linux 2.3 dla każdego - Bill Ball Caldera Linux 2.3 dla każdego
Autor: Bill Ball
Cena: 49.00
Rok wydania: 2000
Wydawnictwo: Helion
Ilość stron: 400
Linux. Praktyczne rozwiązania - Adam Podstawczyński Linux. Praktyczne rozwiązania
Autor: Adam Podstawczyński
Cena: 35.00
Rok wydania: 2000
Wydawnictwo: Helion
Ilość stron: 248
Red Hat Linux 7.3. Księga eksperta - Bill Ball Red Hat Linux 7.3. Księga eksperta
Autor: Bill Ball
Cena: 110.00
Rok wydania: 2002
Wydawnictwo: Helion
Ilość stron: 752
Linux w sieci - Adam Podstawczyński Linux w sieci
Autor: Adam Podstawczyński
Cena: 39.00
Rok wydania: 2002
Wydawnictwo: Helion
Ilość stron: 224
Red Hat Linux 7.2. Ćwiczenia praktyczne - Jerzy Marczyński Red Hat Linux 7.2. Ćwiczenia praktyczne
Autor: Jerzy Marczyński
Cena: 18.00
Rok wydania: 2002
Wydawnictwo: Helion
Ilość stron: 176






ksiegarnia.pila.pl exists since 2005 year.
Provided by: Przemysław Krajniak, PHP Scripts