Guest User!

You are not Sophos Staff.

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

Renew License by Command

Hi all,

Because I configured the box authenticate with AD user and the license is expired, I can't log on to Webadmin to renew license. Please let me know how to renew License ASG 425 by Command.[[[:(]]][[[:(]]][[[:(]]]

Many thanks,
DT


This thread was automatically locked due to age.
  • Hi, DT, and welcome to the User BB!

    You should get Sophos Support involved.

    Cheers - Bob
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • Use command line to add user or edit auth?

    Otherwise, the following might work (it might also make things much worse).

    Check license with:
    cc get licensing license


    license_installer.pl

    #!/usr/bin/perl

    #
    #       v. 20150521-poc-1
    #
    #       teched.net
    #

    #
    #
    #       Proof of Concept, not for production use
    #               consequences unknown
    #

    use warnings;
    use strict;

    use Astaro::ConfdPlRPC;

    local $/ = undef;
    my $license = <>;

    my $confd = Astaro::ConfdPlRPC->new or die 'connect failed';

    $confd->set("$license",'licensing','license') or die 'set failed';

    $confd->wait_for_update();

    $confd->disconnect;

    exit 0;


    Usage, where license000000.txt is a license file from MyUTM:

    # cat license000000.txt | perl license_install.pl


    Check license (above) for sucess and confd.log & confd-debug.log for problems.
  • Thanks teched
    I've supported from Sophos Team. They use cc command to add Admin user default to Supper WebAdmin.
    127.0.0.1 OBJS > aaa
    127.0.0.1 OBJS aaa > user 
    127.0.0.1 OBJS aaa user > REF_ 
    REF_DefaultSuperAdmin[admin,aaa,user]
    REF_epJyBSTQaD[afe.bk,aaa,user]
    127.0.0.1 OBJS aaa > group
    127.0.0.1 OBJS aaa group > REF_DefaultSuperAdminGroup[SuperAdmins,aaa,group]

    Thanks for your support. Your solution I will check soon.