VirtualTam's bookmarks

  1.  -e      Exit  immediately  if a pipeline (which may consist of a
     single simple command),  a subshell command enclosed in parentheses,
     or one of the commands executed as part of a command list enclosed by
     braces (see SHELL GRAMMAR above) exits with a non-zero  status. 
    
     -x      After expanding each simple command, for command, case
     command, select command, or arithmetic  for  command,  display
     the  expanded value of PS4, followed by the command and its
     expanded arguments or associated word list.
    
  2. ... et elle a bien raison !

  3. “Les mots de passe sont aléatoires, mais pas au sens cryptographique du terme. On prend des mots de passe auquel un attaquant ne penserait pas tout de suite.”

    Oué, comme :

    • admin / admin (Livebox bonjour !)
    • <service> / <service> ou <service>admin / <service>admin (intégrateur de choc bonjour !)
  4.  1# Global
     2/etc/environment
     3
     4# X Session
     5/var/lib/AccountsService/users/<username>
     6~/.dmrc
     7~/.xinitrc
     8~/.xprofile
     9
    10# Session
    11/etc/profile
    12/etc/profile.d/*.sh
    13~/.profile
    14
    15# Bash
    16/etc/bash.bashrc
    17~/.bash_profile
    18~/.bashrc
    19
    20# ZSH
    21/etc/zsh/zprofile
    22~/.zshrc
    23
    24# Locales
    25/etc/locale.conf
    26/etc/locale.gen
    27~/.config/locale
    28
    29# Superusers
    30/etc/login.defs
    31/etc/sudoers (use visudo to edit)
    32
    33# SSH
    34/etc/ssh/sshd_config (server-side, can allow the client to pass variables)
    35/etc/ssh/ssh_config (client-side, can send variables to servers)
    36
    37# SaltStack
    38/etc/default/salt-minion (not always included in the distro's packages)