neorom posteets tagged linux,administration  [ Profile ]

Sort by: Date / Title /

  1. 1 year ago and saved by 1 other
    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
  2. 1 year ago 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
  3. 1 year ago
    1. gpasswd -a user groupe
  4. sponsorised links

First / Previous / Next / Last / Page 1 of 1 (3 posteets)