How to change group of admin user in webmin?

I accidentally added Administrator (self) to the group, which has no rights - not customize them.

How to change group of webmin root user with console or edit file/db.

In /etc/webmin/webmin.acl find the user you need to edit. And, change the module list to something like this:

root: acl adsl-client ajaxterm apache at backup-config bacula-backup bandwidth bind8 burner cfengine change-user cluster-copy cluster-cron cluster-passwd cluster-shell cluster-software cluster-useradmin cluster-usermin cluster-webmin cpan cron custom dfsadmin dhcpd dnsadmin dovecot exim exports fdisk fetchmail file filter firewall frox fsdump grub heartbeat htaccess-htpasswd idmapd inetd init inittab ipfilter ipfw ipsec iscsi-client iscsi-server iscsi-target jabber krb5 ldap-client ldap-server ldap-useradmin lilo logrotate lpadmin lvm mailboxes mailcap majordomo man mon mount mysql net nis openslp package-updates pam pap passwd phpini postfix postgresql ppp-client pptp-client pptp-server proc procmail proftpd pserver qmailadmin quota raid samba sarg sendmail sentry servers shell shorewall shorewall6 smart-status smf software spam squid sshd status stunnel syslog-ng syslog system-status tcpwrappers telnet time tunnel updown useradmin usermin vgetty webalizer webmin webmincron webminlog wuftpd xinetd virtual-server virtualmin-mailman virtualmin-sqlite virtualmin-svn virtualmin-awstats virtualmin-dav virtualmin-init virtualmin-registrar ruby-gems security-updates php-pear virtualmin-htpasswd virtualmin-git fail2ban iscsi-tgtd

Oh, yeah, you’ll need to restart Webmin after that change, I think.