[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question



Le 21/08/2019 à 15:12, Simeone Dominique a écrit :
 > j'ai installé Debian 10 mais j'ai un problème, je dois modifier le mot
 > passe root car il n'y en avait pas et je suis bloqué pour utiliser les
 > lignes de commande ainsi que l'interface graphique.
 > Pouvez-vous m'aider? Y-a-t-il un manuel?

https://wiki.debian.org/NewInBuster

Use su - instead; this launches a login shell, which forces PATH to be changed, but also changes everything else including the working directory.

Use sudo instead. sudo still runs commands with an altered PATH variable.
To get a regular root shell with the correct PATH, you may use sudo -s.
To get a login shell as root (equivalent to su -), you may use sudo -i.


--
J-C Etiemble


Reply to: