This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Admin account disabled

Hi guys, I have an Astaro 8.3 with "admin" account disabled, anyone know how to enable it from shell? I have full shell access. Many thanks!

cc get_user_by_name admin

get_user_by_name returned {
          'autoname' => 0,
          'class' => 'aaa',
          'data' => {
                      'acc_managed' => 0,
                      'allowed_networks' => [
                                              'REF_NetworkAny'
                                            ],
                      'authentication' => 'local',
                      'backend_update' => 0,
                      'clearpass' => '',
                      'comment' => 'Default Super-Admin user',
                      'email_primary' => '',
                      'email_secondary' => [],
                      'enabled' => 0,
                      'lastauth_backend' => '',
                      'lastauth_facility' => '',
                      'lastauth_time' => 0,
                      'loc' => 'english',
                      'md4hash' => 'fce15eb8303bfd3a71a4c8be7a2272d8',
                      'name' => 'admin',
                      'network' => 'REF_DefaultSuperAdminNetwork',
                      'pop3_accounts' => [],
                      'ras_ip' => '0.0.0.0',
                      'ras_online' => 0,
                      'realname' => '',
                      'sender_blacklist' => [],
                      'sender_whitelist' => [],
                      'status' => 1,
                      'use_ras_ip' => 0,
                      'user_preferences' => 'REF_jtAKcUwKoG',
                      'x509_cert' => 'REF_PyTnLQAJQn'
                    },
          'hidden' => 0,
          'lock' => '',
          'nodel' => '',
          'ref' => 'REF_DefaultSuperAdmin',
          'type' => 'user'
        }
 
tail aua.log

2015:07:28-15:41:35 farsfw aua[8252]: id="3006" severity="info" sys="System" sub="auth" name="Authentication failed: Local user 'admin' is disabled"


This thread was automatically locked due to age.
Parents
  • Also, thanks to teched:

    cc change_object REF_DefaultSuperAdmin enabled 1


    Cheers - Bob
    PS I always use "admin" as a backup account and never disable it.  Clients are urged to use their own account instead of "admin" and to sync their user from Active Directory if applicable.
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Reply
  • Also, thanks to teched:

    cc change_object REF_DefaultSuperAdmin enabled 1


    Cheers - Bob
    PS I always use "admin" as a backup account and never disable it.  Clients are urged to use their own account instead of "admin" and to sync their user from Active Directory if applicable.
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
Children
No Data