Difference between revisions of "How do you recover or reset your admin password?/et"

From Joomla! Documentation

(Created page with "See kasutaja on nüüd ajutine super administraator.")
(Updating to match new version of source page)
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude><languages /></noinclude>
 
<noinclude><languages /></noinclude>
{{version|2.5,3.x}}
+
{{version|2.5,3.x,4.x,5.0}}
{{tip|text=See lehekülg käib ainult Joomla! 2.5 ja uuemate versioonide kohta. Kui sa kasutad veel Joomla! 1.5-te&nbsp; [[S:MyLanguage/J1.5:How_do_you_recover_or_reset_your_admin_password%3F|siis võid leida juhendid siit]].|title=Joomla! 1.5 parooli taastamine}}
+
{{tip|text=<div class="mw-translate-fuzzy">
 +
See lehekülg käib ainult Joomla! 2.5 ja uuemate versioonide kohta. Kui sa kasutad veel Joomla! 1.5-te&nbsp;
 +
</div> [[S:MyLanguage/J1.5:How_do_you_recover_or_reset_your_admin_password%3F|siis võid leida juhendid siit]].|title=<div class="mw-translate-fuzzy">
 +
Joomla! 1.5 parooli taastamine
 +
</div>}}
  
Tavapäraselt saad sa kasutajaid ning paroole lisada, muuta ja kustutada saidi adminiliidesest kasutajate lehelt. Selle tegemiseks pead sa kuuluma super administraatorite gruppi.  
+
<div class="mw-translate-fuzzy">
 +
Tavapäraselt saad sa kasutajaid ning paroole lisada, muuta ja kustutada saidi adminiliidesest kasutajate lehelt. Selle tegemiseks pead sa kuuluma super administraatorite gruppi.
 +
</div>
  
In some situations, this may not be possible. For example, your site may have been "hacked" and had the passwords or users changed. Or perhaps the person who knew the passwords is no longer available. Or maybe you have forgotten the password that was used.
+
Mõningates olukordades ei pruugi see olla võimalik. Näiteks võib su sait olla "häkitud" ja kasutajate paroolid võivad olla muudetud. Või pole inimene, kes teadis paroole, enam saadaval. Või siis oled lihtsalt parooli unustanud.
  
In these cases, it is still possible to alter the Joomla! database so you can log back in as a Super Administrator. These are the possible methods available to Joomla! administrators.
+
<div class="mw-translate-fuzzy">
 +
Sellistes olukordades, on võimalik siiski veel muuta Joomla! andmebaasi, et sa saaksid Super Administraatorina sisse logaida. Need on võimalused, mida Joomla adminid saavad kasutada.
 +
</div>
  
== 1. meetod: fail configuration.php ==
+
<div class="mw-translate-fuzzy">
If you have access to your <code>configuration.php</code> file for the Joomla installation on your server, then you can recover the password using the following method.
+
== 1. Meetod: fail configuration.php ==
 +
</div>
 +
<div class="mw-translate-fuzzy">
 +
Kui sul on ligipääs serveris sinu Joomla! saidi seadetefailile<code>configuration.php</code>, siis saad taastada parooli kasutades järgmist meetodit.
 +
</div>
  
1. Using an FTP program connect to your site. Find the configuration.php file and look at the file permissions. If the permissions are 444 or some other value, then change the permissions of the configuration.php file to 644. This will help prevent issues when uploading the changed configuration.php file later in this process.
+
<div class="mw-translate-fuzzy">
 +
1. Kasuta FTP programmi oma saidiga ühendumiseks. Otsi üles fail configuration.php ning vaata selle kirjutusõiguseid. Kui õigused on 444 või mingi muu vääärtus, siis pane faili configuration.php õigusteks 644. Sellega saad ennetada vigu, mis võivad tekkida hiljem muudetud configuration.php faili üleslaadimisel.
 +
</div>
  
 +
<div class="mw-translate-fuzzy">
 
2. Laadi seadetefail alla.
 
2. Laadi seadetefail alla.
 +
</div>
 +
 +
<div class="mw-translate-fuzzy">
 +
3. Ava fail configuration.php, mille sa alla laadisid tekstiredaktoris nagu näiteks notepad++ ja lisa see rida
 +
</div>
  
3. Open the configuration.php file that was downloaded in a text editor such as notepad++ and add this line
 
 
 
  public $root_user='myname';
 
  public $root_user='myname';
  
to the bottom of the list where myname is a username with administrator access that you know the password for. An username that is Author level or higher can also be used in place of a username with administrator access.
+
<div class="mw-translate-fuzzy">
 +
nimekirja lõppu, kus myname on kasutajanimi, kelle parooli sa tead ja kellel on super administraatori õigused. Administraatori ligipääsuga kasutajanime asemel saab kasutada ka autori või kõrgema õigustega kasutaja kasutajanime.
 +
</div>
  
4. Save the configuration.php file and upload it back to the site. You may leave the permissions on the configuration.php file at 644.
+
<div class="mw-translate-fuzzy">
 +
4. Salvesta fail configuration.php ja laadi see tagasi saidile üles. Jäta faili configuration.php kirjutusõigusteks 644.
 +
</div>
  
See kasutaja on nüüd ajutine super administraator.  
+
<div class="mw-translate-fuzzy">
 +
See kasutaja on nüüd ajutine super administraator.
 +
</div>
  
5. Login to the back end and change the password of the administrator user you don't have the password for or create a new super admin user.  
+
<div class="mw-translate-fuzzy">
If you create the new user you may want to block or delete the old user depending on your circumstances.
+
5. Logi adminiliidesesse ja muuda ära administraatori parool, mille sa olid ära unustanud või loo uus super kasutaja.
 +
Kui lood uue kasutaja, siis soovid ehk blokeerida või kustutada vana kasutaja.
 +
</div>
  
6. When finished, make sure to use the "Click here to try to do it automatically" link that appears in the alert box to remove the line that was added to the configuration.php file. If using the link was not successful, then go back and delete the added line from your configuration.php file using a text editor. Upload the configuration.php file back to the site.
+
<div class="mw-translate-fuzzy">
 +
6. Kui oled selle ära teinud, siis eemalda failist configuration.php sinna lisatud rida. Selle tegemiseks kasuta linki "Kliki siia, et seda automaatselt teha", mis on tekkinud sinu adminiliidese päisesse. Kui lingi kasutamine ei toiminud, siis ava fail configuration.php käsitsi ning eemalda sinna lisatud rida. Laadi fail configuration.php tagasi saidile üles.
 +
</div>
  
7. Using your FTP program verify the file permissions of the configuration.php file, they should be 444. If you manually removed the added line, then change the file permissions on the configuration.php file to 444.
+
<div class="mw-translate-fuzzy">
 +
7. Veendu FTP programiga, et faili configuration.php õigused oleks 444. Kui eemaldasid rea käsitsi, siis veendu, et sa paneksid faili configuration.php õigusteks 444.
 +
</div>
  
If you have no users who know their passwords and you can't utilize front end registration you may need to make a change in your database as outlined below in this document.
+
<div class="mw-translate-fuzzy">
 +
Kui pole  ühtegi kasutajat, kes teab oma parooli ning sa ei saa käivitada registreerumise funktsoone saidilt, siis on sul ilmselt vaja võtta ette andmebaasi muutmine, millest tuleb juttu allpool.
 +
</div>
  
 +
== 2. Meetod: Andmebaasi otsene muutmine ==
 +
Kui ülalolevad meetodid ei tööta, siis on sul kaks valikut. Mõlemad neist nõuavad otseselt MySQL andmebaasiga töötamist.
  
== Method 2: Direct Editing of Database ==
+
<div class="mw-translate-fuzzy">
If the methods above did not work, you have two other options, both of which require working with the MySQL database directly.
+
===Muuda parool andmebaasis===
 +
Kui administraatoriõigused on veel olemas, siis lihtsaim valik on panna andmebaasis parooli asemele mingi väärtus, mida sa tead. Selle tegemiseks peab sul olema ligipääs MySQL andmebaasile kasutades phpMyAdmin või mõnda muud klienti.
 +
</div>
 +
{{warning|Need juhised näitavad kuidas parooli käsitsi muuta ette määratud sõnaks - "secret"|title=<div class="mw-translate-fuzzy">
 +
Palun veendu, et sa muudaksid parooli kohe pärast saidile ligipääsu saamist
 +
</div>}}
 +
# Navigate to phpMyAdmin and select the database for the Joomla! site in the left-hand drop-down list box. This will show the database tables on the left side of the screen.
 +
# Find and click on the table with ''_users'' appended in the list of tables. (Note: you may have a prefix that is not ''jos_''. Simply go to the ''_users'' table for your prefix).
 +
# Click on the ''Browse'' button in the top toolbar. This will show all of the users that are set up for this site.
 +
# Leia kasutaja, kelle parooli sa soovid muuta ning kliki sellel real muutmise ikoonile
 +
# Näidatakse vormi, millel saad muuta parooli lahtrit. Kopeeri sinna väärtus
  
===Change the Password in the Database===
+
<syntaxhighlight lang="sql">d2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199</syntaxhighlight>
If the admin user is still defined, the simplest option is to change the password in the database to a known value. This requires that you have access to the MySQL database using phpMyAdmin or another client.
 
{{warning|These instructions show how to manually change a password to the word -  "secret"|title=Make sure you change your password once you regain access}}
 
  
# Navigate to phpMyAdmin and select the database for the Joomla! site in the left-hand drop-down list box. This will show the database tables on the left side of the screen.
+
into the password field and press the ''Go'' button. phpMyAdmin should display the message ''Affected rows: 1''. At this point, the password should be changed to ''secret''.
# Find and click on the table with "_users" appended in the list of tables (note: you may have a prefix that is not jos_, simply go to the _users table for your prefix).
 
# Click on the "Browse" button in the top toolbar. This will show all of the users that are set up for this site.
 
# Find the user whose password you want to change and press the Edit icon for this row.
 
# A form will display that allows you to edit the password field. Copy the value <source lang="sql">d2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199</source> into the password field and press the ''Go'' button. phpMyAdmin should display the message "Affected rows: 1". At this point, the password should be changed to '''"secret"'''.
 
 
# Log in with this user and password and change the password of this user to a secure value. Check all of the users using the User Manager to make sure they are legitimate. If you have been hacked, you may want to change all of the passwords on the site.
 
# Log in with this user and password and change the password of this user to a secure value. Check all of the users using the User Manager to make sure they are legitimate. If you have been hacked, you may want to change all of the passwords on the site.
  
===Add a New Super Administrator User===
+
<div class="mw-translate-fuzzy">
If changing the password won't work, or you aren't sure which user is a member of the Super Administrator group, you can use this method to create a new user.
+
===Lisa uus Super Administraator===
 
+
Kui parooli muutmine ei toimi või sa pole kindel, mis kasutaja peaks olema super adminitraatorite grupis, siis sa võid kasutada seda meetodit ka uue kasutaja loomiseks.
# Navigate to phpMyAdmin and select the database for the Joomla! site in the left-hand drop-down list box. This will show the database tables on the left side of the screen.
+
</div>
# Press the "SQL" button in the toolbar to run an SQL query on the selected database. This will display a field called "Run SQL query/queries on database <your database>".
 
# Delete any text in this field and copy and paste the following query below and press the ''Go'' button to execute the query and add the new Administrator user to the table.
 
# Use the SQL query below to add another administrator account.
 
 
 
 
 
{{warning|The following code uses jos31_ as the table name prefix which is only an example table prefix. The prefix when you first installed Joomla is '''RANDOM''' or what you set it specifically too. You will need to change all occurrences of '''jos31_'''(your install set prefix) found in the code below to the prefix your installation is using. |title=Make sure you match your db table prefix!}}
 
  
 +
# Navigate to phpMyAdmin and select the database for the Joomla! site in the left-hand drop-down list box. This will show the database tables on the left side of the screen.
 +
# Press the ''SQL'' button in the toolbar to run an SQL query on the selected database. This will display a field called ''Run SQL query/queries on database <your database>''.
 +
# Delete any text in this field and copy and paste the following query below and press the ''Go'' button to execute the query and add the new Administrator to the table.
 +
# Use the SQL query below to add another Administrator account.
  
'''SQL code for use with Joomla {{JVer|2.5}} {{JVer|3.1}} '''
+
{{warning|The following code uses ''jos31_'' as the table name prefix which is only an example table prefix. The prefix when you first installed Joomla is '''random''' or what you set it to specifically. You will need to change all occurrences of ''jos31_''(your install set prefix) found in the code below to the prefix your installation is using. |title=<div class="mw-translate-fuzzy">
 +
Veendu, et sa kasutasid oma andmebaasi tabeli eesliidet!
 +
</div>}}
 +
Joomla jaoks kasutatav SQL kood 2.5, 3.x, 4.x, 5.x
  
<source lang="sql">INSERT INTO `jos31_users`
+
<syntaxhighlight lang="sql">
   (`name`, `username`, `password`, `params`)
+
INSERT INTO `jos31_users`
 +
   (`name`, `username`, `password`, `params`, `registerDate`, `lastvisitDate`, `lastResetTime`)
 
VALUES ('Administrator2', 'admin2',
 
VALUES ('Administrator2', 'admin2',
     'd2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199', '');
+
     'd2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199', '', NOW(), NOW(), NOW());
 
INSERT INTO `jos31_user_usergroup_map` (`user_id`,`group_id`)
 
INSERT INTO `jos31_user_usergroup_map` (`user_id`,`group_id`)
 
VALUES (LAST_INSERT_ID(),'8');
 
VALUES (LAST_INSERT_ID(),'8');
</source>
+
</syntaxhighlight>
  
At this point, you should be able to log into the back end of Joomla! with the username of "admin2" and password of "secret". After logging in, go to the User Manager and change the password to a new secure value and add a valid e-mail address to the account. If there is a chance you have been "hacked", be sure to check that all users are legitimate, especially any members of the Super Administrator group.
+
At this point, you should be able to log into the Backend of Joomla! with the username of ''admin2'' and password of ''secret''. After logging in, go to the User Manager and change the password to a new secure value and add a valid email address to the account. If there is a chance you have been "hacked", be sure to check that all users are legitimate, especially any members of the Super User group.
  
{{warning|Warning: The password values shown on this page are public knowledge and are only for recovery. Your site may be hacked if you do not change the password to a secure value after logging in. Be sure you change the password to a secure value after logging in.}}
+
{{warning|Warning: The password values shown on this page are public knowledge and are only for recovery. Your site may be hacked if you do not change the password to a secure value after logging in.}}
 
+
<div class="mw-translate-fuzzy">
The examples above change the password to "secret". Two other possible values are shown below:
+
Ülaltoodud näidetes muudetakse parool sõnaks "secret". All on näidatud veel kahte võimalikku varianti.
 +
</div>
 
<pre>
 
<pre>
 
- password = "this is the MD5 and salted hashed password"
 
- password = "this is the MD5 and salted hashed password"
Line 85: Line 126:
 
</pre>
 
</pre>
  
 
+
<noinclude>[[Category:FAQ/et]][[Category:Administration FAQ/et]][[Category:Getting Started FAQ/et]] [[Category:User Management/et]]</noinclude>
<noinclude>[[Category:FAQ]][[Category:Administration FAQ]][[Category:Getting Started FAQ]] [[Category:User Management]]</noinclude>
 

Latest revision as of 04:27, 25 March 2024

Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Nederlands • ‎Türkçe • ‎eesti • ‎español • ‎français • ‎italiano • ‎português • ‎português do Brasil • ‎Ελληνικά • ‎русский • ‎فارسی • ‎ไทย • ‎中文(中国大陆)‎ • ‎中文(台灣)‎ • ‎日本語

Joomla! 1.5 parooli taastamine

See lehekülg käib ainult Joomla! 2.5 ja uuemate versioonide kohta. Kui sa kasutad veel Joomla! 1.5-te 

siis võid leida juhendid siit.

Tavapäraselt saad sa kasutajaid ning paroole lisada, muuta ja kustutada saidi adminiliidesest kasutajate lehelt. Selle tegemiseks pead sa kuuluma super administraatorite gruppi.

Mõningates olukordades ei pruugi see olla võimalik. Näiteks võib su sait olla "häkitud" ja kasutajate paroolid võivad olla muudetud. Või pole inimene, kes teadis paroole, enam saadaval. Või siis oled lihtsalt parooli unustanud.

Sellistes olukordades, on võimalik siiski veel muuta Joomla! andmebaasi, et sa saaksid Super Administraatorina sisse logaida. Need on võimalused, mida Joomla adminid saavad kasutada.

Kui sul on ligipääs serveris sinu Joomla! saidi seadetefailileconfiguration.php, siis saad taastada parooli kasutades järgmist meetodit.

1. Kasuta FTP programmi oma saidiga ühendumiseks. Otsi üles fail configuration.php ning vaata selle kirjutusõiguseid. Kui õigused on 444 või mingi muu vääärtus, siis pane faili configuration.php õigusteks 644. Sellega saad ennetada vigu, mis võivad tekkida hiljem muudetud configuration.php faili üleslaadimisel.

2. Laadi seadetefail alla.

3. Ava fail configuration.php, mille sa alla laadisid tekstiredaktoris nagu näiteks notepad++ ja lisa see rida

public $root_user='myname';

nimekirja lõppu, kus myname on kasutajanimi, kelle parooli sa tead ja kellel on super administraatori õigused. Administraatori ligipääsuga kasutajanime asemel saab kasutada ka autori või kõrgema õigustega kasutaja kasutajanime.

4. Salvesta fail configuration.php ja laadi see tagasi saidile üles. Jäta faili configuration.php kirjutusõigusteks 644.

See kasutaja on nüüd ajutine super administraator.

5. Logi adminiliidesesse ja muuda ära administraatori parool, mille sa olid ära unustanud või loo uus super kasutaja. Kui lood uue kasutaja, siis soovid ehk blokeerida või kustutada vana kasutaja.

6. Kui oled selle ära teinud, siis eemalda failist configuration.php sinna lisatud rida. Selle tegemiseks kasuta linki "Kliki siia, et seda automaatselt teha", mis on tekkinud sinu adminiliidese päisesse. Kui lingi kasutamine ei toiminud, siis ava fail configuration.php käsitsi ning eemalda sinna lisatud rida. Laadi fail configuration.php tagasi saidile üles.

7. Veendu FTP programiga, et faili configuration.php õigused oleks 444. Kui eemaldasid rea käsitsi, siis veendu, et sa paneksid faili configuration.php õigusteks 444.

Kui pole ühtegi kasutajat, kes teab oma parooli ning sa ei saa käivitada registreerumise funktsoone saidilt, siis on sul ilmselt vaja võtta ette andmebaasi muutmine, millest tuleb juttu allpool.

2. Meetod: Andmebaasi otsene muutmine

Kui ülalolevad meetodid ei tööta, siis on sul kaks valikut. Mõlemad neist nõuavad otseselt MySQL andmebaasiga töötamist.

Muuda parool andmebaasis

Kui administraatoriõigused on veel olemas, siis lihtsaim valik on panna andmebaasis parooli asemele mingi väärtus, mida sa tead. Selle tegemiseks peab sul olema ligipääs MySQL andmebaasile kasutades phpMyAdmin või mõnda muud klienti.

Stop hand nuvola.svg.png

Palun veendu, et sa muudaksid parooli kohe pärast saidile ligipääsu saamist

Need juhised näitavad kuidas parooli käsitsi muuta ette määratud sõnaks - "secret"

  1. Navigate to phpMyAdmin and select the database for the Joomla! site in the left-hand drop-down list box. This will show the database tables on the left side of the screen.
  2. Find and click on the table with _users appended in the list of tables. (Note: you may have a prefix that is not jos_. Simply go to the _users table for your prefix).
  3. Click on the Browse button in the top toolbar. This will show all of the users that are set up for this site.
  4. Leia kasutaja, kelle parooli sa soovid muuta ning kliki sellel real muutmise ikoonile
  5. Näidatakse vormi, millel saad muuta parooli lahtrit. Kopeeri sinna väärtus
d2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199

into the password field and press the Go button. phpMyAdmin should display the message Affected rows: 1. At this point, the password should be changed to secret.

  1. Log in with this user and password and change the password of this user to a secure value. Check all of the users using the User Manager to make sure they are legitimate. If you have been hacked, you may want to change all of the passwords on the site.

Lisa uus Super Administraator

Kui parooli muutmine ei toimi või sa pole kindel, mis kasutaja peaks olema super adminitraatorite grupis, siis sa võid kasutada seda meetodit ka uue kasutaja loomiseks.

  1. Navigate to phpMyAdmin and select the database for the Joomla! site in the left-hand drop-down list box. This will show the database tables on the left side of the screen.
  2. Press the SQL button in the toolbar to run an SQL query on the selected database. This will display a field called Run SQL query/queries on database <your database>.
  3. Delete any text in this field and copy and paste the following query below and press the Go button to execute the query and add the new Administrator to the table.
  4. Use the SQL query below to add another Administrator account.
Stop hand nuvola.svg.png

Veendu, et sa kasutasid oma andmebaasi tabeli eesliidet!

The following code uses jos31_ as the table name prefix which is only an example table prefix. The prefix when you first installed Joomla is random or what you set it to specifically. You will need to change all occurrences of jos31_(your install set prefix) found in the code below to the prefix your installation is using.

Joomla jaoks kasutatav SQL kood 2.5, 3.x, 4.x, 5.x

INSERT INTO `jos31_users`
   (`name`, `username`, `password`, `params`, `registerDate`, `lastvisitDate`, `lastResetTime`)
VALUES ('Administrator2', 'admin2',
    'd2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199', '', NOW(), NOW(), NOW());
INSERT INTO `jos31_user_usergroup_map` (`user_id`,`group_id`)
VALUES (LAST_INSERT_ID(),'8');

At this point, you should be able to log into the Backend of Joomla! with the username of admin2 and password of secret. After logging in, go to the User Manager and change the password to a new secure value and add a valid email address to the account. If there is a chance you have been "hacked", be sure to check that all users are legitimate, especially any members of the Super User group.

Stop hand nuvola.svg.png
Warning!

Warning: The password values shown on this page are public knowledge and are only for recovery. Your site may be hacked if you do not change the password to a secure value after logging in.

Ülaltoodud näidetes muudetakse parool sõnaks "secret". All on näidatud veel kahte võimalikku varianti.

- password = "this is the MD5 and salted hashed password"
------------------------------------------------------
- admin  = 433903e0a9d6a712e00251e44d29bf87:UJ0b9J5fufL3FKfCc0TLsYJBh2PFULvT
- secret = d2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199
- OU812  = 5e3128b27a2c1f8eb53689f511c4ca9e:J584KAEv9d8VKwRGhb8ve7GdKoG7isMm