[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
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édenteProchaine révisionLes deux révisions suivantes | ||
fr:howtos:misc:enabling_sudo_on_slackware [2021/03/24 08:36 (UTC)] – desiderius | fr:howtos:misc:enabling_sudo_on_slackware [2021/03/24 09:12 (UTC)] – desiderius | ||
---|---|---|---|
Ligne 92: | Ligne 92: | ||
</ | </ | ||
- | Uncommented the line of sudo, save and close, to put the icing on the cake we need to make a last setting that is very important. | + | Décommentez la ligne de sudo, sauvegardez et fermez l' |
- | There are directories like the example | + | Il y a des répertoires comme par exemple |
- | So we need to add two new lines to our PATH. | + | C'est pourquoi il faut ajouter deux nouvelles lignes à notre PATH. |
+ | |||
+ | Pour cela, toujours sous l' | ||
- | For this still as root user let's open the file ' | ||
< | < | ||
Ligne 104: | Ligne 105: | ||
PATH="/ | PATH="/ | ||
</ | </ | ||
+ | ':' | ||
+ | Notez qu'il y a déjà un chemin préétabli ; les répertoires ont leurs champs séparés par des ':' | ||
- | Note that there is an established pattern, directories have their field separated by ':'. At the end of '/ | + | Pour finir, vous devez avoir cette ligne : |
< | < | ||
Ligne 113: | Ligne 116: | ||
< | < | ||
- | Please note that your regular user (UID 1000) can now execute the maintenance | + | Faites attention que votre utilisateur ordinaire |
</ | </ | ||
- | Simply put, it is the same as giving a read permission | + | Tout simplement, c'est la même chose que mettre une permission |
+ | |||
+ | Redémarrez votre système par la commande shutdown avec le paramètre r now, ou simplement sortez de votre session utilisateur pour pouvoir exécuter la commande exit ou appuyez simultanèment les touches | ||
+ | | ||
- | Reboot your system with the shutdown command with parameters -r now, or simply exit your user and return so that you can execute the exit command or simultaneously press the **CTRL + D** keys. | + | Faites des tests en ajoutant sudo en tête de vos commandes. |
+ | Testez aussi une mise à jour par slackpkg. | ||
- | Run tests by adding sudo in front of the desired command (s). | ||
- | Also test by updating your list and checksuns with slackpkg. | ||
< | < | ||
Ligne 130: | Ligne 135: | ||
====== Sources ====== | ====== Sources ====== | ||
* Originally written by [[wiki: | * Originally written by [[wiki: | ||
+ | * Traduction françise par [wiki: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
<!-- You must remove the tag-word " | <!-- You must remove the tag-word " | ||
{{tag> | {{tag> |