Sindbad~EG File Manager

Current Path : /opt/alt/python37/lib/python3.7/site-packages/clcommon/public_hooks/bundle/directadmin/bin/
Upload File :
Current File : //opt/alt/python37/lib/python3.7/site-packages/clcommon/public_hooks/bundle/directadmin/bin/user_create_post

#!/opt/alt/python37/bin/python3 -bb
# -*- coding: utf-8 -*-

# Copyright © Cloud Linux GmbH & Cloud Linux Software, Inc 2010-2018 All Rights Reserved
#
# Licensed under CLOUD LINUX LICENSE AGREEMENT
# http://cloudlinux.com/docs/LICENSE.TXT
#
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os

from clcommon.public_hooks import setup_logger_and_sentry
from clcommon.public_hooks.bundle.directadmin.lib import user_create_post


def main():
    setup_logger_and_sentry()
    system_user = os.environ.get('username')

    exit(user_create_post(system_user))


if __name__ == '__main__':
    main()


Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists