####### # # E-scripts on sudo. # # Note 1: use the eev command (defined in eev.el) and the # ee alias (in my .zshrc) to execute parts of this file. # Executing this file as a whole makes no sense. # # Note 2: be VERY careful and make sure you understand what # you're doing. # # Note 3: If you use a shell other than zsh things like |& # and the for loops may not work. # # Note 4: I always run as root. # # Note 5: some parts are too old and don't work anymore. Some # never worked. # # Note 6: the definitions for the find-xxxfile commands are on my # .emacs. # # Note 7: if you see a strange command check my .zshrc -- it may # be defined there as a function or an alias. # # Note 8: the sections without dates are always older than the # sections with dates. # # This file is at # or at . # See also , # , # , # , # and . # ####### # «.sudo» (to "sudo") ##### # # sudo # 2004aug17 # ##### # «sudo» (to ".sudo") # (find-es "debian" "sudo") # (find-status "sudo") # (find-vldifile "sudo.list") # (find-udfile "sudo/") # (find-man "8 sudo") # (find-man "5 sudoers") # (find-man "5 sudoers" "NOPASSWD and PASSWD") # (find-man "5 sudoers" "\nEXAMPLES") # (find-man "8 visudo") # EDITOR=nano visudo # # Edrx: # (find-es "sudo") User_Alias FULLTIMERS = edrx, aleph, beth FULLTIMERS ALL = (ALL) NOPASSWD: ALL # # (find-sh "sudo cat /etc/sudoers") # (find-man "5 sudoers") # (find-man "5 sudoers" "ALL = (ALL) ALL") # (find-man "5 sudoers" "\n User Specification") # # User_Alias FULLTIMERS = edrx, aleph, beth # NAME = User, User, User # \---------------/ # User_list # \----------------------------/ # User_alias # \---------------------------------------/ # Alias # # FULLTIMERS ALL = ( ALL ) NOPASSWD: ALL # User_list Host_list Runas_List Cmnd # \----------/ # Runas_Spec # \-------------------------/ # Cmnd_Spec # \-------------------------/ # Cmnd_Spec_List # \------------------------------------------------/ # User_Spec # # Local Variables: # coding: raw-text-unix # ee-delimiter-hash: "\n#\n" # ee-anchor-format: "«%s»" # End: