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
- 417 Beta Program
- 2.5K Nebula
- 160 Nebula Ideas
- 108 Nebula Status and Incidents
- 5.9K Security
- 331 USG FLEX H Series
- 286 Security Ideas
- 1.5K Switch
- 78 Switch Ideas
- 1.2K Wireless
- 42 Wireless Ideas
- 6.6K Consumer Product
- 259 Service & License
- 402 News and Release
- 86 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 3.8K FAQ
- 34 Documents
- 34 Nebula Monthly Express
- 85 About Community
- 80 Security Highlight