View previous topic :: View next topic |
Author |
Message |
armkreuz1 Tux's lil' helper
Joined: 31 Mar 2004 Posts: 142 Location: Melocheville, Québec, Canada
|
Posted: Sun Nov 07, 2004 3:29 pm Post subject: [INSTALLATION] oublier de mettre password pour root |
|
|
Je viens de terminer mon installation de Gentoo, mais je viens de rebooter et je me rends compte que j'ai oublier de mettre un password pour root, et je n'ai pas encore de user de créé.
Une solution pour créé mon passwd ROOT? |
|
Back to top |
|
|
anskay n00b
Joined: 07 Nov 2004 Posts: 2
|
Posted: Sun Nov 07, 2004 3:36 pm Post subject: |
|
|
salut,
monter ta partition a l'aide du CD d'install et vider le champ passwd dans le /etc/shadow
sinon chrooter ta partition a partir du CD d'install et utiliser la commande passwd normalement. |
|
Back to top |
|
|
kernelsensei Bodhisattva
Joined: 22 Feb 2004 Posts: 5619 Location: Woustviller/Moselle/FRANCE (49.07°N;7.02°E)
|
Posted: Sun Nov 07, 2004 3:39 pm Post subject: |
|
|
tu peux simplement chrooter a partir du CD et faire passwd ! _________________ $ ruby -e'puts " .:@BFegiklnorst".unpack("x4ax7aaX6ax5aX15ax4aax6aaX7ax2aX5aX8 \
axaX3ax8aX4ax6aX3aX6ax3ax3aX9ax4ax2aX9axaX6ax3aX2ax4ax3aX4aXaX12ax10aaX7a").join' |
|
Back to top |
|
|
bosozoku Advocate
Joined: 11 Jan 2004 Posts: 2431 Location: Roazhon
|
Posted: Sun Nov 07, 2004 4:08 pm Post subject: |
|
|
kernel_sensei wrote: | tu peux simplement chrooter a partir du CD et faire passwd ! |
Oui il vaut mieux faire ça car toucher manuellement les fichiers /etc/passwd (et /etc/group) est une mauvaise solution. _________________ Stationlinux.org - Wiki Fvwm FR - Config Fvwm |
|
Back to top |
|
|
|