admin login

is there anyway to reset admin as the main login, i seem to have configured admin as a domain login. i cant seem to log in as the main webmin administrator anymore, anyone please help.

thanks

Hey Kenneth,

That happens more than we’d like. We need to figure out a way to make that harder to do. :wink:

You can fix it by editing the file /etc/webmin/webmin.acl

And replacing the root: line with:

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

And then restart Webmin. There may be other restrictions in various modules, but once the above is done you can use the Webmin "Webmin Users and Groups" module to remove the restrictions.