Jump to content
XPEnology Community

renegadeBE

Member
  • Posts

    232
  • Joined

  • Last visited

  • Days Won

    4

Community Answers

  1. renegadeBE's post in DSM 7 Loss acces to DSM, error to the Firewall set was marked as the answer   
    SOLVED :
     
    Mount DSM partition success with tool (./rploader.sh mountdsmroot).
    Edit file into /etc/sysconfig/network-scripts
     
    And reboot.

    Plug ethernet to the switch, config a vlan + dhcp with good range ip and attach my laptot to the vlan.
  2. renegadeBE's post in How disable 2-factor authentication ? (DSM 7.1.1) was marked as the answer   
    Solved :
     
    Enable default admin account and process.
     
    SSH :
     
    for it -> Synouser tool
     
    $ sudo synouser Password: Copyright (c) 2003-2022 Synology Inc. All rights reserved. Usage: synouser --help --rebuild {all|(domain Force{0|1})|(ldap Force{0|1})} --enum {local|domain|ldap|all|domain_used} --enumpre {local|domain|all|domain_used} prefix Caseless{0|1} --enumsub {local|domain|all|domain_used} substr Caseless{0|1} --enum_admin {local|domain|ldap|all} --get username --getuid UID --add [username pwd "full name" expired{0|1} mail privilege] --modify username "full name" expired{0|1} mail --rename old_username new_username --setpw username newpasswd --del username1 username2 ... --login username pwd --dbopen2 username --filesetpw --create_homes {domain|ldap}  
    Edit admin user status
     
    Enable account :
     
    sudo synouser --modify admin "System default user" 0 mail@mail.dom  
    Set password :
     
    sudo synouser --setpw admin setpassword  
    Check status expired = false :
     
    /$ sudo synouser --get admin User Name : [admin] User Type : [AUTH_LOCAL] User uid : [1024] Primary gid : [100] Fullname : [System default user] User Dir : [/var/services/homes/admin] User Shell : [/bin/sh] Expired : [false] User Mail : [mail@mail.dom] Alloc Size : [125] Member Of : [2] (100) users (101) administrators  
    Now, go on DSM : identify with the admin account and password.
    - Go to control panel / users and
    - Edit user to disable 2-step authentification.
    - Log out and back in with the correct account
    - Don't forget to disable the default admin account.
     
     
×
×
  • Create New...