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
- 415 Beta Program
- 2.5K Nebula
- 154 Nebula Ideas
- 103 Nebula Status and Incidents
- 5.9K Security
- 307 USG FLEX H Series
- 284 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.1K Wireless
- 42 Wireless Ideas
- 6.5K Consumer Product
- 256 Service & License
- 397 News and Release
- 85 Security Advisories
- 29 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.7K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 87 About Community
- 77 Security Highlight