Child pages
  • How to reset the password for local users

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

All local user passwords are stored in /etc/op5/auth_users.yml, and they are listed as blocks like these. The string "$1$VGn0CdSG$AMJjvHoF8M2nSy8SiPrW70" is a hash of the password "monitor":

 

No Format
monitor:
  username: "monitor"
  realname: "Monitor Admin"
  password: "$1$VGn0CdSG$AMJjvHoF8M2nSy8SiPrW70"
  groups:
    - "admins"
  password_algo: "crypt"
  modules:
    - "Default" 

The monitor command that changes the local users, including their passwords, is "/usr/bin/op5-manage-users". Running 'op5-manage-users' without any arguments prints its syntax help:

...