Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Lost admin password. Can I simply change it in odoo.conf?

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
passwordadministratorOdoo 16
2 Réponses
2267 Vues
Avatar
Panos Anagnostakis

A friend of mine has a windows installation of Odoo 16 in a pc at his work. He wanted to backup the db, but he's lost and doesn't remember the database manager password.

I've read that in this case, you can simply change the database manager password in odoo.conf with a new one in plaintext. Is this safe? Because the database data is crucial (it's patients data, he is a doctor). Is there any possibility that he will lose connection with the database or the db will be erased?

Also, I've read that the database manager password in odoo.conf is sha encrypted. Can it be replaced with a plain text one?

Lastly, in Odoo 16 windows, where is odoo.conf located?

0
Avatar
Ignorer
Avatar
Cybrosys Techno Solutions Pvt.Ltd
Meilleure réponse

Hi,


Yes, it’s totally safe to change the database manager password by editing odoo.conf — it won’t affect your data at all.


Just open odoo.conf and look for the line that says admin_passwd.

Replace the value with a new password in plain text like this:


admin_passwd = mynewpassword

This password is not encrypted, and that’s normal. Odoo stores it in plain text in the config file.


Changing it won’t disconnect or delete your database — it only changes the password used to access the database management screen (where you can create, restore, or drop databases).


Once you save the file, restart the Odoo server, and you’ll be able to log into the database manager with the new password.


On Windows, where is odoo.conf?

If your friend used the standard Odoo installer, it’s usually here:


C:\Program Files (x86)\Odoo 16.0\server\odoo.conf


Hope it helps

0
Avatar
Ignorer
Avatar
Christoph Farnleitner
Meilleure réponse

The value of admin_passwd in odoo.conf can be simply replaced by the text-representation of your desired, new password for interactions with /web/database/manager, yes.

Upon restarting the server, Odoo should automatically encrypt it again.

About "Is there any possibility that he will lose connection with the database or the db will be erased?" - no, the admin_passwd's sole purpose is to prevent unauthorized access to the GUI of /web/database/manager actions.

Note: There are cases, where the encryption does not happen automatically, in that case you could simply read the password from the file.


Where exactly the odoo.conf file is located depends on your setup. A installation from source (i.e. if you've downloaded a zip or cloned the github repository) could be anywhere. A installation using the executable (.exe) also allows you to specify the path of installation. By default it should be something like C:\Program Files (x86)\Odoo 16.0\server\odoo.conf (but it's  along while since I've installed Odoo on a Windows machine, so just look out for common folders) - you should find the file in there.

0
Avatar
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
How to recover the Admin password Résolu
password recover admin administrator
Avatar
Avatar
Avatar
Avatar
Avatar
5
juil. 24
93677
Admin Password lost Résolu
password lost admin administrator
Avatar
Avatar
Avatar
2
mars 15
7095
Odoo in sharepoint
Odoo 16
Avatar
Avatar
1
nov. 25
284
updateControlPanel, _setMode do not work property in odoo 16
Odoo 16
Avatar
Avatar
1
juil. 25
1058
Password Reset Link redirect to account.odoo.com
password
Avatar
0
mai 25
2437
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now