How to remove User/Group accounts (CLI)
Options
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
- 442 Beta Program
- 3.1K Nebula
- 244 Nebula Ideas
- 6.9K Security
- 808 USG FLEX H Series
- 392 Security Ideas
- Threat Watch!
- 1.8K Switch
- 88 Switch Ideas
- 1.5K Wireless
- 60 Wireless Ideas
- 7.3K Consumer Product
- 333 Service & License
- 541 News and Release
- 106 Security Advisories
- 31 Education Center
- 10 [Campaign] Zyxel Network Detective
- 5.5K FAQ
- 34 Documents
- 89 About Community
- 124 Security Highlight
Freshman Member
Zyxel Employee