How to remove User/Group accounts (CLI)
I am looking for a way to remove users on ZLD appliances, similar to the one explained here:
https://mysupport.zyxel.com/hc/en-us/articles/360006854279--ZLD-How-to-add-new-User-Group-accounts-CLI-
Any hints?
https://mysupport.zyxel.com/hc/en-us/articles/360006854279--ZLD-How-to-add-new-User-Group-accounts-CLI-
Any hints?
0
Best Answers
-
Hi @GioPWelcome to Zyxel community. You can use the below CLI to delete user and user group.CLI :configure terminalno username nameExample: to delete the user account user1Router #configure terminalRouter(config)# no username user1CLI :configure terminalno groupname groupnameExample: to delete the user group testusergroupRouter #configure terminalRouter(config)# no groupname testusergroupBTW, if you delete the user group already, it does not mean the users existing in the user group would be deleted, too. Only the user group would be deleted, you still need to delete those users respectively.1
-
Hi @GioPPlease refer to the below example.CLI :configure terminalgroupname <groupname>no user < username >Example: to delete an account user1 from a user group testusergroupRouter# configure terminalRouter(config)# groupname testusergroupRouter(group-user)# no user user11
All Replies
-
Hi @GioPWelcome to Zyxel community. You can use the below CLI to delete user and user group.CLI :configure terminalno username nameExample: to delete the user account user1Router #configure terminalRouter(config)# no username user1CLI :configure terminalno groupname groupnameExample: to delete the user group testusergroupRouter #configure terminalRouter(config)# no groupname testusergroupBTW, if you delete the user group already, it does not mean the users existing in the user group would be deleted, too. Only the user group would be deleted, you still need to delete those users respectively.1
-
Thank you very much Jeff,
there is just an information I still need: when you try removing a user which is member of a group, you get:
retval = -3004ERROR: User in use.Is there a way to remove a user from groups using the CLI?0 -
Hi @GioPPlease refer to the below example.CLI :configure terminalgroupname <groupname>no user < username >Example: to delete an account user1 from a user group testusergroupRouter# configure terminalRouter(config)# groupname testusergroupRouter(group-user)# no user user11
Categories
- All Categories
- 347 Beta Program
- 2.1K Nebula
- 115 Nebula Ideas
- 77 Nebula Status and Incidents
- 5K Security
- 44 USG FLEX H Series
- 246 Security Ideas
- 1.2K Switch
- 64 Switch Ideas
- 900 WirelessLAN
- 33 WLAN Ideas
- 5.8K Consumer Product
- 204 Service & License
- 326 News and Release
- 71 Security Advisories
- 21 Education Center
- 5 [Campaign] Zyxel Network Detective
- 1.8K FAQ
- 832 Nebula FAQ
- 402 Security FAQ
- 219 Switch FAQ
- 190 WirelessLAN FAQ
- 45 Consumer Product FAQ
- 136 Service & License FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 71 About Community
- 61 Security Highlight