Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 21/10/2011, à 23:51

kinder

[Résolu]Mot de passe dans le Terminal

Je tape sudo gparted dans le Terminal et celui-ci me demande mon mot de passe .

Mais quand je tape mon mot de passe , le Terminal ne prends rien , bizarre !!!

Comment désactiver ses demandes de mot de passe qui m'encombrent ?

Dernière modification par kinder (Le 22/10/2011, à 01:11)


Je remercie toute personne qui se penche sur mes c... heuuuuuuu mes problèmes =>Merci
PC Acer Aspire M5641
OS Ubuntu 20.04.2 LTS (64bits) + Windows 10 (64bits)

Hors ligne

#2 Le 22/10/2011, à 00:08

xabilon

Re : [Résolu]Mot de passe dans le Terminal

Salut

Le mot de passe ne s'affiche pas dans le terminal, c'est tout à fait normal, mais ta frappe est tout de même prise en compte.

Le demande de mot de passe pour les actions d'administration n'est pas un "encombrement", mais une sécurité


Pour passer un sujet en résolu : modifiez le premier message et ajoutez [Résolu] au titre.

Hors ligne

#3 Le 22/10/2011, à 00:10

ehmicky

Re : [Résolu]Mot de passe dans le Terminal

Regarde ici
(Sans vouloir être désagréable, cette question apparaît toutes les deux semaines, alors que la réponse est dans un post épinglé, de quoi devenir timbré tongue)

Dernière modification par ehmicky (Le 22/10/2011, à 00:11)


Stego++, bibliothèque libre de stéganographie (avec cryptographie), à venir !
Besoin de votre aide :
Stats sur les compilateurs C++ les plus utilisés
Comment utiliser les archetypes C++ ?

Hors ligne

#4 Le 22/10/2011, à 00:16

f.x0

Re : [Résolu]Mot de passe dans le Terminal

Bonjour kinder,

pour info lorsque tu veux lancer une application utilisant une interface graphique, comme gparted dans ton cas,
il vaut mieux utiliser gksudo que sudo.

gksudo gparted

Tu éviteras ainsi toute déconvenue. wink

Dernière modification par f.x0 (Le 22/10/2011, à 00:16)


SOPI

Hors ligne

#5 Le 22/10/2011, à 00:31

kinder

Re : [Résolu]Mot de passe dans le Terminal

xabilon , ok , je l'ai re-tapé et maintenant il me met ça sudo: gparted: command not found

ehmicky , je suis nouveau et n'est pas connaissance de toutes les réponses données sur ce forum , c'est donc pour cela que je pose des questions , alors merci à toi pour ta réponse wink

f.x0 , j'ai essayé gksudo gparted , mais rien ne se passe .


Je remercie toute personne qui se penche sur mes c... heuuuuuuu mes problèmes =>Merci
PC Acer Aspire M5641
OS Ubuntu 20.04.2 LTS (64bits) + Windows 10 (64bits)

Hors ligne

#6 Le 22/10/2011, à 00:34

f.x0

Re : [Résolu]Mot de passe dans le Terminal

Je crois que gparted n'est pas installé, essies en terminal

sudo apt-get update
sudo apt-get install gparted
gksudo gparted

Notes la différence entre sudo (qui lance une commande en terminal)
et gksudo (qui lance une application utilisant une interface graphique)


SOPI

Hors ligne

#7 Le 22/10/2011, à 00:46

kinder

Re : [Résolu]Mot de passe dans le Terminal

Voila ce que ça donne :

stephane@stephane-Aspire-M5641:~$ sudo apt-get update
[sudo] password for stephane:
Ign http://extras.ubuntu.com natty InRelease
Ign http://security.ubuntu.com natty-security InRelease               
Ign http://fr.archive.ubuntu.com natty InRelease                       
Ign http://fr.archive.ubuntu.com natty-updates InRelease               
Atteint http://extras.ubuntu.com natty Release.gpg                     
Atteint http://security.ubuntu.com natty-security Release.gpg         
Atteint http://fr.archive.ubuntu.com natty Release.gpg                 
Atteint http://extras.ubuntu.com natty Release                         
Atteint http://security.ubuntu.com natty-security Release                     
Atteint http://fr.archive.ubuntu.com natty-updates Release.gpg                 
Atteint http://extras.ubuntu.com natty/main Sources                   
Atteint http://fr.archive.ubuntu.com natty Release                     
Atteint http://security.ubuntu.com natty-security/main Sources                 
Atteint http://fr.archive.ubuntu.com natty-updates Release                     
Atteint http://extras.ubuntu.com natty/main i386 Packages                     
Ign http://extras.ubuntu.com natty/main TranslationIndex                       
Atteint http://security.ubuntu.com natty-security/restricted Sources           
Atteint http://security.ubuntu.com natty-security/universe Sources             
Atteint http://security.ubuntu.com natty-security/multiverse Sources   
Atteint http://security.ubuntu.com natty-security/main i386 Packages   
Atteint http://security.ubuntu.com natty-security/restricted i386 Packages
Atteint http://fr.archive.ubuntu.com natty/main Sources               
Atteint http://fr.archive.ubuntu.com natty/restricted Sources         
Atteint http://fr.archive.ubuntu.com natty/universe Sources           
Atteint http://fr.archive.ubuntu.com natty/multiverse Sources         
Atteint http://fr.archive.ubuntu.com natty/main i386 Packages         
Atteint http://fr.archive.ubuntu.com natty/restricted i386 Packages   
Atteint http://fr.archive.ubuntu.com natty/universe i386 Packages             
Atteint http://fr.archive.ubuntu.com natty/multiverse i386 Packages           
Ign http://fr.archive.ubuntu.com natty/main TranslationIndex                   
Ign http://fr.archive.ubuntu.com natty/multiverse TranslationIndex             
Atteint http://security.ubuntu.com natty-security/universe i386 Packages
Atteint http://security.ubuntu.com natty-security/multiverse i386 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex   
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://fr.archive.ubuntu.com natty/restricted TranslationIndex     
Ign http://fr.archive.ubuntu.com natty/universe TranslationIndex       
Atteint http://fr.archive.ubuntu.com natty-updates/main Sources       
Atteint http://fr.archive.ubuntu.com natty-updates/restricted Sources 
Atteint http://fr.archive.ubuntu.com natty-updates/universe Sources   
Ign http://security.ubuntu.com natty-security/universe TranslationIndex       
Atteint http://fr.archive.ubuntu.com natty-updates/multiverse Sources         
Atteint http://fr.archive.ubuntu.com natty-updates/main i386 Packages 
Atteint http://fr.archive.ubuntu.com natty-updates/restricted i386 Packages
Atteint http://fr.archive.ubuntu.com natty-updates/universe i386 Packages
Atteint http://fr.archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://fr.archive.ubuntu.com natty-updates/main TranslationIndex   
Ign http://fr.archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://fr.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://fr.archive.ubuntu.com natty-updates/universe TranslationIndex
Atteint http://fr.archive.ubuntu.com natty/main Translation-fr         
Atteint http://fr.archive.ubuntu.com natty/multiverse Translation-fr   
Atteint http://fr.archive.ubuntu.com natty/restricted Translation-fr   
Atteint http://fr.archive.ubuntu.com natty/universe Translation-fr     
Ign http://security.ubuntu.com natty-security/main Translation-fr_FR   
Ign http://security.ubuntu.com natty-security/main Translation-fr     
Ign http://security.ubuntu.com natty-security/main Translation-en     
Ign http://security.ubuntu.com natty-security/multiverse Translation-fr_FR
Ign http://security.ubuntu.com natty-security/multiverse Translation-fr
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-fr_FR     
Ign http://security.ubuntu.com natty-security/restricted Translation-fr       
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-fr_FR
Ign http://security.ubuntu.com natty-security/universe Translation-fr 
Ign http://security.ubuntu.com natty-security/universe Translation-en 
Ign http://extras.ubuntu.com natty/main Translation-fr_FR             
Ign http://extras.ubuntu.com natty/main Translation-fr                 
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://fr.archive.ubuntu.com natty/main Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty/main Translation-en
Ign http://fr.archive.ubuntu.com natty/multiverse Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty/multiverse Translation-en
Ign http://fr.archive.ubuntu.com natty/restricted Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty/restricted Translation-en
Ign http://fr.archive.ubuntu.com natty/universe Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty/universe Translation-en
Ign http://fr.archive.ubuntu.com natty-updates/main Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty-updates/main Translation-fr
Ign http://fr.archive.ubuntu.com natty-updates/main Translation-en
Ign http://fr.archive.ubuntu.com natty-updates/multiverse Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty-updates/multiverse Translation-fr
Ign http://fr.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://fr.archive.ubuntu.com natty-updates/restricted Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty-updates/restricted Translation-fr
Ign http://fr.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://fr.archive.ubuntu.com natty-updates/universe Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty-updates/universe Translation-fr
Ign http://fr.archive.ubuntu.com natty-updates/universe Translation-en
Lecture des listes de paquets... Fait
stephane@stephane-Aspire-M5641:~$ sudo apt-get install gparted
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Le paquet suivant a été installé automatiquement et n'est plus nécessaire :
  linux-headers-2.6.38-8
Veuillez utiliser « apt-get autoremove » pour les supprimer.
Paquets suggérés :
  xfsprogs reiserfsprogs reiser4progs jfsutils ntfsprogs kpartx dmraid
Les NOUVEAUX paquets suivants seront installés :
  gparted
0 mis à jour, 1 nouvellement installés, 0 à enlever et 1 non mis à jour.
Il est nécessaire de prendre 499 ko dans les archives.
Après cette opération, 1 671 ko d'espace disque supplémentaires seront utilisés.
Réception de : 1 http://fr.archive.ubuntu.com/ubuntu/ natty/main gparted i386 0.7.0-1ubuntu1 [499 kB]
499 ko réceptionnés en 2s (207 ko/s)
Sélection du paquet gparted précédemment désélectionné.
(Lecture de la base de données... 147596 fichiers et répertoires déjà installés.)
Dépaquetage de gparted (à partir de .../gparted_0.7.0-1ubuntu1_i386.deb) ...
Traitement des actions différées (« triggers ») pour « bamfdaemon »...
Rebuilding /usr/share/applications/bamf.index...
Traitement des actions différées (« triggers ») pour « desktop-file-utils »...
Traitement des actions différées (« triggers ») pour « python-gmenu »...
Rebuilding /usr/share/applications/desktop.fr_FR.utf8.cache...
Traitement des actions différées (« triggers ») pour « hicolor-icon-theme »...
Traitement des actions différées (« triggers ») pour « man-db »...
Traitement des actions différées (« triggers ») pour « python-support »...
Paramétrage de gparted (0.7.0-1ubuntu1) ...
stephane@stephane-Aspire-M5641:~$ gksudo gparted
======================
libparted : 2.3
======================
stephane@stephane-Aspire-M5641:~$

Et du coup , gparted  c'est ouvert , merci  f.x0 wink

Gparted , je m'en servais quand j'utilisais Ubuntu en live CD et maintenant que j'ai installé Ubuntu , il faut que j'installe gparted ,

c'est bizarre !!!

Y a-t-il d'autres choses qui sont sur le live CD et qui disparaissent quand on fait l'installation ?


Je remercie toute personne qui se penche sur mes c... heuuuuuuu mes problèmes =>Merci
PC Acer Aspire M5641
OS Ubuntu 20.04.2 LTS (64bits) + Windows 10 (64bits)

Hors ligne

#8 Le 22/10/2011, à 00:56

f.x0

Re : [Résolu]Mot de passe dans le Terminal

Non je crois que seul gparted n'est pas installé (c'est étrange).

Par contre j'ai vu que tu as un paquet installé qui est devenu inutile :

Le paquet suivant a été installé automatiquement et n'est plus nécessaire :
  linux-headers-2.6.38-8
Veuillez utiliser « apt-get autoremove » pour les supprimer

Pour faire un peu de ménage tapes en terminal

sudo apt-get update
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove

En tout cas je suis content pour toi que cela ait fonctionné kinder, bonne continuation sur Gnu/Linux




SI TU PENSES QUE TON PROBLÈME EST SOLUTIONNÉ, AJOUTES [RÉSOLU] DANS LE TITRE DE TON PREMIER POST, CELA POURRA AIDER D'AUTRES UBUNTEROS QUI ONT LE MÊME PROBLÈME QUE TOI. wink


SOPI

Hors ligne

#9 Le 22/10/2011, à 01:11

kinder

Re : [Résolu]Mot de passe dans le Terminal

Et voila ce que ça donne :

stephane@stephane-Aspire-M5641:~$ sudo apt-get update
[sudo] password for stephane:
Ign http://fr.archive.ubuntu.com natty InRelease
Ign http://fr.archive.ubuntu.com natty-updates InRelease                       
Atteint http://fr.archive.ubuntu.com natty Release.gpg                         
Ign http://security.ubuntu.com natty-security InRelease                       
Ign http://extras.ubuntu.com natty InRelease                           
Atteint http://fr.archive.ubuntu.com natty-updates Release.gpg         
Atteint http://security.ubuntu.com natty-security Release.gpg         
Atteint http://extras.ubuntu.com natty Release.gpg                     
Atteint http://fr.archive.ubuntu.com natty Release                     
Atteint http://security.ubuntu.com natty-security Release                     
Atteint http://extras.ubuntu.com natty Release                                 
Atteint http://fr.archive.ubuntu.com natty-updates Release                     
Atteint http://fr.archive.ubuntu.com natty/main Sources                       
Atteint http://fr.archive.ubuntu.com natty/restricted Sources                 
Atteint http://fr.archive.ubuntu.com natty/universe Sources           
Atteint http://fr.archive.ubuntu.com natty/multiverse Sources         
Atteint http://fr.archive.ubuntu.com natty/main i386 Packages         
Atteint http://fr.archive.ubuntu.com natty/restricted i386 Packages   
Atteint http://fr.archive.ubuntu.com natty/universe i386 Packages     
Atteint http://fr.archive.ubuntu.com natty/multiverse i386 Packages   
Ign http://fr.archive.ubuntu.com natty/main TranslationIndex           
Ign http://fr.archive.ubuntu.com natty/multiverse TranslationIndex     
Atteint http://security.ubuntu.com natty-security/main Sources         
Atteint http://extras.ubuntu.com natty/main Sources                   
Ign http://fr.archive.ubuntu.com natty/restricted TranslationIndex     
Ign http://fr.archive.ubuntu.com natty/universe TranslationIndex       
Atteint http://fr.archive.ubuntu.com natty-updates/main Sources       
Atteint http://fr.archive.ubuntu.com natty-updates/restricted Sources 
Atteint http://fr.archive.ubuntu.com natty-updates/universe Sources   
Atteint http://security.ubuntu.com natty-security/restricted Sources   
Atteint http://security.ubuntu.com natty-security/universe Sources     
Atteint http://security.ubuntu.com natty-security/multiverse Sources   
Atteint http://security.ubuntu.com natty-security/main i386 Packages   
Atteint http://security.ubuntu.com natty-security/restricted i386 Packages
Atteint http://extras.ubuntu.com natty/main i386 Packages             
Ign http://extras.ubuntu.com natty/main TranslationIndex               
Atteint http://fr.archive.ubuntu.com natty-updates/multiverse Sources 
Atteint http://fr.archive.ubuntu.com natty-updates/main i386 Packages 
Atteint http://fr.archive.ubuntu.com natty-updates/restricted i386 Packages
Atteint http://fr.archive.ubuntu.com natty-updates/universe i386 Packages
Atteint http://fr.archive.ubuntu.com natty-updates/multiverse i386 Packages
Atteint http://security.ubuntu.com natty-security/universe i386 Packages
Atteint http://security.ubuntu.com natty-security/multiverse i386 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex   
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://fr.archive.ubuntu.com natty-updates/main TranslationIndex           
Ign http://fr.archive.ubuntu.com natty-updates/multiverse TranslationIndex     
Ign http://fr.archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://fr.archive.ubuntu.com natty-updates/universe TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Atteint http://fr.archive.ubuntu.com natty/main Translation-fr         
Atteint http://fr.archive.ubuntu.com natty/multiverse Translation-fr   
Atteint http://fr.archive.ubuntu.com natty/restricted Translation-fr   
Atteint http://fr.archive.ubuntu.com natty/universe Translation-fr     
Ign http://security.ubuntu.com natty-security/main Translation-fr_FR   
Ign http://security.ubuntu.com natty-security/main Translation-fr     
Ign http://security.ubuntu.com natty-security/main Translation-en     
Ign http://security.ubuntu.com natty-security/multiverse Translation-fr_FR
Ign http://security.ubuntu.com natty-security/multiverse Translation-fr
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-fr_FR
Ign http://security.ubuntu.com natty-security/restricted Translation-fr       
Ign http://security.ubuntu.com natty-security/restricted Translation-en       
Ign http://security.ubuntu.com natty-security/universe Translation-fr_FR       
Ign http://security.ubuntu.com natty-security/universe Translation-fr 
Ign http://security.ubuntu.com natty-security/universe Translation-en 
Ign http://extras.ubuntu.com natty/main Translation-fr_FR             
Ign http://extras.ubuntu.com natty/main Translation-fr                 
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://fr.archive.ubuntu.com natty/main Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty/main Translation-en
Ign http://fr.archive.ubuntu.com natty/multiverse Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty/multiverse Translation-en
Ign http://fr.archive.ubuntu.com natty/restricted Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty/restricted Translation-en
Ign http://fr.archive.ubuntu.com natty/universe Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty/universe Translation-en
Ign http://fr.archive.ubuntu.com natty-updates/main Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty-updates/main Translation-fr
Ign http://fr.archive.ubuntu.com natty-updates/main Translation-en
Ign http://fr.archive.ubuntu.com natty-updates/multiverse Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty-updates/multiverse Translation-fr
Ign http://fr.archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://fr.archive.ubuntu.com natty-updates/restricted Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty-updates/restricted Translation-fr
Ign http://fr.archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://fr.archive.ubuntu.com natty-updates/universe Translation-fr_FR
Ign http://fr.archive.ubuntu.com natty-updates/universe Translation-fr
Ign http://fr.archive.ubuntu.com natty-updates/universe Translation-en
Lecture des listes de paquets... Fait
stephane@stephane-Aspire-M5641:~$ sudo apt-get clean
stephane@stephane-Aspire-M5641:~$ sudo apt-get autoclean
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
stephane@stephane-Aspire-M5641:~$ sudo apt-get autoremove
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets suivants seront ENLEVÉS :
  linux-headers-2.6.38-8
0 mis à jour, 0 nouvellement installés, 1 à enlever et 1 non mis à jour.
Après cette opération, 85,6 Mo d'espace disque seront libérés.
Souhaitez-vous continuer [O/n] ? O
(Lecture de la base de données... 147663 fichiers et répertoires déjà installés.)
Suppression de linux-headers-2.6.38-8 ...
stephane@stephane-Aspire-M5641:~$

Super sympa de ta part toutes ses réponses f.x0 , je te paye une bière bière tu l'as bien méritée wink

Dernière modification par kinder (Le 23/10/2011, à 15:25)


Je remercie toute personne qui se penche sur mes c... heuuuuuuu mes problèmes =>Merci
PC Acer Aspire M5641
OS Ubuntu 20.04.2 LTS (64bits) + Windows 10 (64bits)

Hors ligne

#10 Le 22/10/2011, à 01:24

ehmicky

Re : [Résolu]Mot de passe dans le Terminal

kinder a écrit :

ehmicky , je suis nouveau et n'est pas connaissance de toutes les réponses données sur ce forum , c'est donc pour cela que je pose des questions , alors merci à toi pour ta réponse wink

Il ne s'agit pas de lire toutes les réponses (d'autant qu'une barre de recherche est là pour ça tongue, laquelle t'aurait d'ailleurs fait tomber direct sur ta réponse, même si une simple recherche Google, "mot de passe invisible terminal", suffisait : premier lien), mais de lire l'un des deux seuls postes épinglé du forum.

Dernière modification par ehmicky (Le 22/10/2011, à 01:27)


Stego++, bibliothèque libre de stéganographie (avec cryptographie), à venir !
Besoin de votre aide :
Stats sur les compilateurs C++ les plus utilisés
Comment utiliser les archetypes C++ ?

Hors ligne