Difference between revisions of "How to change root password"

From EN Ikoula wiki
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽
Line 1: Line 1:
 +
<br />This article has been created by an automatic translation software. You can view the article source [[:fr:Comment changer son mot de passe root|here]].<br /><span data-translate="fr"></span><br />
 
<span data-link_translate_he_title="כיצד לשנות את הסיסמה שורש"  data-link_translate_he_url="%D7%9B%D7%99%D7%A6%D7%93+%D7%9C%D7%A9%D7%A0%D7%95%D7%AA+%D7%90%D7%AA+%D7%94%D7%A1%D7%99%D7%A1%D7%9E%D7%94+%D7%A9%D7%95%D7%A8%D7%A9"></span>[[:he:כיצד לשנות את הסיסמה שורש]][[he:כיצד לשנות את הסיסמה שורש]]
 
<span data-link_translate_he_title="כיצד לשנות את הסיסמה שורש"  data-link_translate_he_url="%D7%9B%D7%99%D7%A6%D7%93+%D7%9C%D7%A9%D7%A0%D7%95%D7%AA+%D7%90%D7%AA+%D7%94%D7%A1%D7%99%D7%A1%D7%9E%D7%94+%D7%A9%D7%95%D7%A8%D7%A9"></span>[[:he:כיצד לשנות את הסיסמה שורש]][[he:כיצד לשנות את הסיסמה שורש]]
 
<span data-link_translate_ro_title="Cum se schimba parola de root"  data-link_translate_ro_url="Cum+se+schimba+parola+de+root"></span>[[:ro:Cum se schimba parola de root]][[ro:Cum se schimba parola de root]]
 
<span data-link_translate_ro_title="Cum se schimba parola de root"  data-link_translate_ro_url="Cum+se+schimba+parola+de+root"></span>[[:ro:Cum se schimba parola de root]][[ro:Cum se schimba parola de root]]
Line 11: Line 12:
 
<span data-link_translate_pt_title="Como alterar a senha de root"  data-link_translate_pt_url="Como+alterar+a+senha+de+root"></span>[[:pt:Como alterar a senha de root]][[pt:Como alterar a senha de root]]
 
<span data-link_translate_pt_title="Como alterar a senha de root"  data-link_translate_pt_url="Como+alterar+a+senha+de+root"></span>[[:pt:Como alterar a senha de root]][[pt:Como alterar a senha de root]]
 
<span data-link_translate_es_title="Cómo cambiar la contraseña de root"  data-link_translate_es_url="C%C3%B3mo+cambiar+la+contrase%C3%B1a+de+root"></span>[[:es:Cómo cambiar la contraseña de root]][[es:Cómo cambiar la contraseña de root]]
 
<span data-link_translate_es_title="Cómo cambiar la contraseña de root"  data-link_translate_es_url="C%C3%B3mo+cambiar+la+contrase%C3%B1a+de+root"></span>[[:es:Cómo cambiar la contraseña de root]][[es:Cómo cambiar la contraseña de root]]
<span data-link_translate_fr_title="Comment changer son mot de passe root"  data-link_translate_fr_url="Comment_changer_son_mot_de_passe_root"></span>[[:fr:Comment changer son mot de passe root]][[fr:Comment changer son mot de passe root]]
+
<span data-link_translate_en_title="How to change root password"  data-link_translate_en_url="How+to+change+root+password"></span>[[:en:How to change root password]][[en:How to change root password]]
<br />
+
==Problem==
 +
You have lost your root password (Linux) and want to know how to retrieve.
  
This article has been created by an automatic translation software. You can view the article source [[:fr:Comment changer son mot de passe root|here]].<br /><span data-translate="fr"></span>
+
==Request to Ikoula==
 +
If you're having trouble and want that Ikoula is in charge of the recovery. You can order a one-off intervention of recovery of root password for your [https://order.ikoula.com/cp Ikoula client interface] :
 +
* Allez sur l'onglet '''Compte'''
 +
* Cliquez sur '''Acheter plus de services'''
 +
* Cliquez sur '''Interventions ponctuelles'''
 +
* Choisissez '''Reset mot de passe'''
 +
* Réglez votre commande dans '''Compte''' -> '''Balance'''
 +
* Contactez notre support technique à ikoula@ikoula.com depuis votre adresse de contact technique et indiquez le {{Template:Serveur}} you wish to recover the password
  
==Problem ==
+
==Netboot==
You have lost your root password  (Linux ) and want to know how to recover.
+
Si au contraire vous souhaitez vous en chargez vous-même, sachez qu'il n'est pas possible de le récupérer, il vous faudra le modifier en passant par une session ''Rescue System'' aussi nommée ''NETBOOT''.
  
==Application to Ikoula ==
+
===Netboot {{Template:Serveur}} dedicated physics===
If you have problems and want that Ikoula is responsible for recovery. You can order a timely intervention of root password recovery since your  [https://order.ikoula.com/cp Ikoula client interface] :
+
We invite you to follow the FAQ [[ Qu’est_ce_que_le_netboot_et_comment_le_lancer_?]] that will explain how to do this.
* Go to the tab  '''Account '''
 
* Click on  '''Buy more services '''
 
* Click on  '''Interventions '''
 
* Choose  '''Reset password '''
 
* Adjust your order in  '''Account ''' -> '''Balance'''
 
* Contact our technical support at  ikoula@ikoula.cOM since your technical contact address and please indicate this  {{Template:Serveur}} you want to recover the password
 
  
==Netboot ==
+
===Netboot {{Template:Serveur}} dedicated virtual (FLEX)===
If instead you want to load yourself, be aware that it is not possible to recover, you need to modify it through a session  ''System rescue '' also called  ''NETBOOT''.
+
It depends on the host on which your {{Template:Serveur}} is present.
 +
We invite you to follow the FAQ [[Netboot_sur_serveur flex]] that will explain how to do this.
  
===Netboot {{Template:Serveur}} dedicated physics ===
+
==The password recovery==
We invite you to follow the FAQ  [[:fr: Qu’est_ce_que_le_netboot_et_comment_le_lancer_?]] that will explain how to do this.
+
Once your {{Template:Serveur}} started by netboot, connect to it in ssh. Access is present by default in the e-mail delivery of your.{Template:Serveur}}.
 +
Then you must mount the partitions so that they are accessible.
 +
Ex with a standard partitioning (orders will be to adapt to your case) :
  
===Netboot {{Template:Serveur}} dedicated virtual  (FLEX )===
+
* We first create the destination folder :
It depends on the host on which your  {{Template:Serveur}} is present.
 
We invite you to follow the FAQ  [[:fr:Netboot_sur_serveur flex]] that will explain how to do this.
 
 
 
==Password recovery ==
 
Once your  {{Template:Serveur}} started by netboot, log in to the SSH. Are those by default in the mail delivery of your  {{Template:Serveur}}.
 
Then it is necessary to Mount  the partitions so that they are accessible.
 
Ex with a standard partitioning  (orders will be to adapt to your case ) :
 
 
 
* It first creates the destination folder :
 
 
     <span style="color: #ffffff; background-color: #000000;"> # mkdir /mnt/disk</span>
 
     <span style="color: #ffffff; background-color: #000000;"> # mkdir /mnt/disk</span>
  
* Then we go up the system this folder :
+
* Then we go up the system in this folder :
     <span style="color: #ffffff; background-color: #000000;"> # Mount  /dev/sda3 /mnt/disk</span>
+
     <span style="color: #ffffff; background-color: #000000;"> # mount /dev/sda3 /mnt/disk</span>
  
If you have a RAID system, the command will be  :
+
If you have a RAID system, the command is :
  
 
     <span style="color: #ffffff; background-color: #000000;"> # mount /dev/md1 /mnt/disk</span>
 
     <span style="color: #ffffff; background-color: #000000;"> # mount /dev/md1 /mnt/disk</span>
  
* Once mounted partitions you must perform a 'change of root ' (chroot ) to simulate being on your system, via the command :
+
* Once you have mounted the partitions you must perform a 'root change ' (chroot) in order to simulate being on your system, via the command :
 
     <span style="color: #ffffff; background-color: #000000;"> # chroot /mnt/disk /bin/bash</span>
 
     <span style="color: #ffffff; background-color: #000000;"> # chroot /mnt/disk /bin/bash</span>
  
* Then, there is more to define a new password :
+
* Then, it remains more to set a new password :
 
     <span style="color: #ffffff; background-color: #000000;"> # passwd</span>
 
     <span style="color: #ffffff; background-color: #000000;"> # passwd</span>
  
This command will ask you to type 2 both on the new password. A first for initialization, the second for confirmation.
+
This command will ask you to type 2 time on the new password. A first for initialization, the second for confirmation.
  
 
* Finally, exit the chroot and reboot the machine.
 
* Finally, exit the chroot and reboot the machine.
Line 70: Line 67:
 
[[Category:Dedicated_server]]
 
[[Category:Dedicated_server]]
 
[[Category:Linux]]
 
[[Category:Linux]]
 
 
<br />
 
<br />
 
<comments />
 
<comments />

Revision as of 17:52, 8 February 2017


This article has been created by an automatic translation software. You can view the article source here.

he:כיצד לשנות את הסיסמה שורש ro:Cum se schimba parola de root ru:Как изменить пароль пользователя root pl:Jak zmienić hasło roota ja:Root のパスワードを変更する方法 ar:كيفية تغيير كلمة السر الجذر zh:如何更改 root 密码 de:Root-Passwort ändern nl:Het root-wachtwoord wijzigen it:Come cambiare la password di root pt:Como alterar a senha de root es:Cómo cambiar la contraseña de root en:How to change root password

Problem

You have lost your root password (Linux) and want to know how to retrieve.

Request to Ikoula

If you're having trouble and want that Ikoula is in charge of the recovery. You can order a one-off intervention of recovery of root password for your Ikoula client interface :

  • Allez sur l'onglet Compte
  • Cliquez sur Acheter plus de services
  • Cliquez sur Interventions ponctuelles
  • Choisissez Reset mot de passe
  • Réglez votre commande dans Compte -> Balance
  • Contactez notre support technique à ikoula@ikoula.com depuis votre adresse de contact technique et indiquez le Server you wish to recover the password

Netboot

Si au contraire vous souhaitez vous en chargez vous-même, sachez qu'il n'est pas possible de le récupérer, il vous faudra le modifier en passant par une session Rescue System aussi nommée NETBOOT.

Netboot Server dedicated physics

We invite you to follow the FAQ Qu’est_ce_que_le_netboot_et_comment_le_lancer_? that will explain how to do this.

Netboot Server dedicated virtual (FLEX)

It depends on the host on which your Server is present. We invite you to follow the FAQ Netboot_sur_serveur flex that will explain how to do this.

The password recovery

Once your Server started by netboot, connect to it in ssh. Access is present by default in the e-mail delivery of your.{Template:Serveur}}. Then you must mount the partitions so that they are accessible. Ex with a standard partitioning (orders will be to adapt to your case) :

  • We first create the destination folder :
     # mkdir /mnt/disk
  • Then we go up the system in this folder :
     # mount /dev/sda3 /mnt/disk

If you have a RAID system, the command is :

     # mount /dev/md1 /mnt/disk
  • Once you have mounted the partitions you must perform a 'root change ' (chroot) in order to simulate being on your system, via the command :
     # chroot /mnt/disk /bin/bash
  • Then, it remains more to set a new password :
    # passwd

This command will ask you to type 2 time on the new password. A first for initialization, the second for confirmation.

  • Finally, exit the chroot and reboot the machine.
     # exit
     # reboot

After reboot, you can log in as root on your machine via the new password that you set.


You are not allowed to post comments.