public:kb:synology
                Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| public:kb:synology [2019/01/12 22:45] – [SSH] laurent.joly | public:kb:synology [2020/09/17 17:43] (Version actuelle) – [Redémarrer les services] laurent.joly | ||
|---|---|---|---|
| Ligne 8: | Ligne 8: | ||
| ===== Redémarrer les services ===== | ===== Redémarrer les services ===== | ||
| + | |||
| + | **General Command Line commands for handling DSM Services:** | ||
| + | < | ||
| + | synoservicecfg --list | ||
| + | synoservice --status | ||
| + | synoservicecfg --stop < | ||
| + | synoservicecfg --hard-stop < | ||
| + | synoservicecfg --start < | ||
| + | synoservicecfg --hard-start < | ||
| + | synoservice --restart < | ||
| + | synoservicectl --restart < | ||
| + | |||
| + | </ | ||
| + | |||
| + | pour Stopper la tache ActiveBackup ce serait donc | ||
| + | < | ||
| + | sudo synoservicecfg --stop pkgctl-ActiveBackup | ||
| + | </ | ||
| + | |||
| + | FIXME ce qui suit sur les services semblre obsolete FIXME | ||
| ==== Service cron ==== | ==== Service cron ==== | ||
| Ligne 39: | Ligne 59: | ||
| ==== SSH ==== | ==== SSH ==== | ||
| - | < | + | === Activer service SSH === | 
| - | / | + | Pour activer le service SSH utiliser l' | 
| - | et | + | * Panneau de configuration | 
| - | / | + | * Terminal et SNMP | 
| - | </ | + | * Activer SSH | 
| - | Par défaut on ne peut pas utiliser les clefs SSH pour se connecter au Synology avec un compte user car les droits appliqués à son home_dir/ | ||
| - | Pour le user toto : / | + | === Utiliser clefs === | 
| + | Pour pouvoir utiliser des clefs SSH, il faut procéder à quelques ajustements  | ||
| - | limiter via chmod les droits d' | + | * Panneau de configuration | 
| + | * Users | ||
| + | * Advanced | ||
| + | * User home | ||
| + |   * cocher Enable  | ||
| + | |||
| + | S' | ||
| + | |||
| + | donc pour toto : | ||
| + | <code bash> | ||
| + | chmod -R go-rwx / | ||
| + | </ | ||
public/kb/synology.1547329554.txt.gz · Dernière modification :  de laurent.joly
                
                