Tags: administration

Sort by: Date / Title /

  1. 6 years ago by neorom
    1. /etc/pure-ftpd/conf/PassivePortRange
    2.  
    3.  
    4. 50000 50100
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2127"></script>
  2. 7 years ago by sox and saved by 2 others
    1. # Ajouter une route par defaut
    2. route add default gw 192.168.0.1
    3.  
    4. # Afficher les routes
    5. route -n
    6.  
    7. # Supprimer une route
    8. route del -net 192.168.0.1/24
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/2101"></script>
  3. 9 years ago by bobuse
    1. DELETE sc_bookmarks,
    2. sc_tags FROM sc_tags,
    3. sc_bookmarks WHERE sc_tags.bId = sc_bookmarks.bId AND sc_tags.tag = "tag_des_signets_à_supprimer"
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/1197"></script>
  4. sponsorised links
  5. 9 years ago by bobuse
    1. dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/805"></script>
  6. 9 years ago by bobuse
    1. UPDATE user SET user_password = MD5(CONCAT(user_id, '-', MD5('somepass'))) WHERE user_name = 'someuser';
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/246"></script>
  7. 9 years ago by neorom and saved by 2 others
    1. #ajouter une route par defaut
    2. route add default gw 192.168.0.1
    3.  
    4. #afficher les routes
    5. route -n
    6.  
    7. # supprimer une route
    8. route del -net 192.168.0.1/24
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/68"></script>
  8. 9 years ago by neorom and saved by 2 others
    1. #allumer les quotas :
    2. quotaon -a
    3. #éteindre les qutoas
    4. quotaoff -a
    5.  
    6. #éditez un quota via l'éditeur par defaut
    7. edquota -u user -g group
    8.  
    9. #éditez le temps entre la limite soft et la limite hard
    10. edquota -t
    11.  
    12. #afficher la liste des quotas actifs
    13. repquota -avug
    14.  
    15. #initialiser la base des quotas
    16. quotacheck -avugm
    17.  
    18. #synchronisation des quotas
    19. quotacheck -avug
    20.  
    21. #tips : unité 1000 = 1Mo
    22.  
    23. #éditez un quota en ligne de commande (intérresant pour le scripting)
    24. setquota -u user -a soft_block hard_block soft_inode hard_inode
    25. #ex :
    26. setquota -u toto -a 1000 1000 1000 1000
    27. #pour un quota de 1Mo
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/66"></script>
  9. 9 years ago by neorom
    1. defaults write com.apple.Finder ApleShowAllFiles true
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/65"></script>
  10. 9 years ago by neorom
    1. #éditez le fichier /etc/fstab
    2. /dev/hdb2          /mnt/mes_files         vfat    users,umask=000       0 0
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/64"></script>
  11. 9 years ago by neorom
    1. gpasswd -a user groupe
    Paste this in your website: <script type="text/javascript" src="http://www.posteet.com/embed/63"></script>

First / Previous / Next / Last / Page 1 of 2 (12 posteets)