How to delete Local users and groups on the ProxySG
search cancel

How to delete Local users and groups on the ProxySG

book

Article ID: 166360

calendar_today

Updated On:

Products

ProxySG Software - SGOS

Issue/Introduction

On the ProxySG, how can you delete the local users and groups?

Resolution

Deletion of local users, groups and list can only be done via CLI.

Step 1: Delete local users and group in the local user list:
#(config) security local-user-list edit <user-list-name>  
#(config local-user-list <list-name>)view  
#(config local-user-list <list-name>)user delete <user>  
This will permanently delete the object. Proceed with deletion? (y or n) y  
ok  
#(config local-user-list <list-name>)group delete <group>
This will permanently delete the object. Proceed with deletion? (y or n) y  
ok

Step 2: Delete local user list:
#(config) security local-user-list delete <list-name>   

Example:

Step 1:
#(config)security local-user-list edit MyUserList  
#(config local-user-list MyUserList)view
MyUserList
Lockout parameters:
    Max failed attempts: 60
    Lockout duration:    3600
    Reset interval:      7200  
Users:
    Test_user1
        Hashed Password:
        Enabled:         true
        Groups:  
Groups:
    Test_group1  
#(config local-user-list MyUserList)user delete Test_user1
This will permanently delete the object. Proceed with deletion? (y or n) y  
ok  
#(config local-user-list MyUserList) group delete Test_group1
This will permanently delete the object. Proceed with deletion? (y or n) y  
ok
#(config local-user-list MyUserList) exit   

Step 2:
#(config) security local-user-list delete MyUserList
This will permanently delete the object. Proceed with deletion? (y or n) y  
ok
#(config)