menu disappear ?? SOLVED

5 posts / 0 new
Last post
#1 Tue, 04/21/2009 - 21:33
diogene

menu disappear ?? SOLVED

Hi everybody

I just got installed virtualmin : everything was working fine until I created my first server. Since then, menu disappeared from the left side : I cant create any database anymore, no virtual server, etc..

I join a view of the actual menu. Can anybody explain to me what happened : is this bug, a misconfiguration issue.. ?

I really don't know what happened ??

In webmin as well, the configuration modules hint disappeared..

Thanks [img size=270]http://www.virtualmin.com/components/com_fireboard/uploaded/images/menu....

Post edited by: diogene, at: 2009/04/21 21:37<br><br>Post edited by: diogene, at: 2009/04/22 22:13

Tue, 04/21/2009 - 22:57
Joe
Joe's picture

Did you try to make your new virtual server owned by &quot;root&quot;? If so, you've turned your root user into a non-root user. Obviously, that's a poor choice. &quot;root&quot; should never be set as the owner of a virtual server...root already has full access to all virtual servers. ;-)

But, now that you've done it, you'd need to manually modify /etc/webmin/webmin.acl and set the root user to have access to all modules. That'd look like this:

root: backup-config change-user usermin virtualmin-notes webminlog webmin servers acl bacula-backup init passwd quota mount fsdump inittab ldap-client ldap-useradmin logrotate mailcap mon pam proc at cron sentry software desktop man syslog syslog-ng useradmin virtualmin-init security-updates exim virtualmin-awstats apache bind8 pserver dhcpd dovecot fetchmail frox jabber ldap-server majordomo mysql openslp postfix postgresql proftpd procmail qmailadmin mailboxes sshd samba sendmail spam squid sarg virtualmin-google-analytics virtualmin-mailman virtualmin-svn virtual-server wuftpd webalizer adsl-client bandwidth xinetd ipsec inetd krb5 firewall exports nis net pap ppp-client pptp-client pptp-server stunnel shorewall virtualmin-registrar idmapd filter burner grub lilo 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 extjs file tunnel phpini cpan htaccess-htpasswd telnet status updown virtualmin-dav virtualmin-htpasswd virtualmin-slavedns translator server-manager virtual-server-gpl nettools php-pear ruby-gems virtual-server-svn dfsadmin dnsadmin ipfilter ipfw smf virtualmin-oracle virtualmin-mysqluser virtualmin-signup

(Note that that is all one line. The forum will probably do horrible things with it.)

This will at least give you back all of the modules...but you'll still have to go through the Webmin Users module and re-grant full access to the modules that Virtualmin restricts (MySQL, Apache, BIND, Users and Groups, and maybe a few others).

So, um....don't do that again. I had thought we gave a warning when you tried to set the owner to root. But, even if we do, if you use a username other than root for your administrative user (like on Ubuntu if you use your &quot;first&quot; user, which has sudo all capabilities), Virtualmin won't recognize that you're doing something wrong.

--

Check out the forum guidelines!

Wed, 04/22/2009 - 03:15 (Reply to #2)
diogene

Hello Joe

First thanks for your answer.

Actually What I did is to import an existing website from /var/www/existingwebsite.com. And when I saw that I could only have access to the root /var/www from internet I deleted the / directory from the Virtualmin -&gt; Configure Website -&gt; Virtual Server Options... Where I guess, just set the default directory was enough.

So now, I've changed my webmin.acl file from this :
[code:1]root: acl adsl-client 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 jabber krb5 ldap-client ldap-server ldap-useradmin lilo logrotate lpadmin lvm mailboxes mailcap majordomo man mon mount mysql net nis openslp 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 smart-status smf software spam squid sshd status stunnel syslog-ng syslog tcpwrappers telnet time tunnel updown useradmin usermin vgetty webalizer webmin webminlog wuftpd xinetd security-updates virtual-server virtualmin-awstats virtualmin-dav virtualmin-htpasswd virtualmin-mailman virtualmin-svn
anonymous: virtualmin-mailman
diogene: bind8 apache virtual-server file passwd proc cron at telnet change-user htaccess-htpasswd mailboxes syslog virtualmin-htpasswd[/code:1]

to this :
[code:1]root: acl adsl-client 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 jabber krb5 ldap-client ldap-server ldap-useradmin lilo logrotate lpadmin lvm mailboxes mailcap majordomo man mon mount mysql net nis openslp 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 smart-status smf software spam squid sshd status stunnel syslog-ng syslog tcpwrappers telnet time tunnel updown useradmin usermin vgetty webalizer webmin webminlog wuftpd xinetd security-updates virtual-server virtualmin-awstats virtualmin-dav virtualmin-htpasswd virtualmin-mailman virtualmin-svn
anonymous: virtualmin-mailman
diogene: acl adsl-client 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 jabber krb5 ldap-client ldap-server ldap-useradmin lilo logrotate lpadmin lvm mailboxes mailcap majordomo man mon mount mysql net nis openslp 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 smart-status smf software spam squid sshd status stunnel syslog-ng syslog tcpwrappers telnet time tunnel updown useradmin usermin vgetty webalizer webmin webminlog wuftpd xinetd security-updates virtual-server virtualmin-awstats virtualmin-dav virtualmin-htpasswd virtualmin-mailman virtualmin-svn[/code:1]

and I got back the options - full options I guess, from the webmin panel and I'd like to give the &quot;diogene&quot; user full access but I don't know how. Because this user still can't create another virtual server or any database.

And actually, I can only login as diogene in webmin or virtualmin as I deactivated the root user during the installation (debian 5.0 lenny)..

So I got 2 questions :

1 - Is the suppression of the root directory is the origine of my problem ?
2 - Where I can find the documentation for the re-configuration of the &quot;diogene&quot; user - when I'm going in the Webmin -&gt; Webmin -&gt; Webmin Users -&gt; diogene, everything possible is already selected ?

I expect to be clear enough..

Thanks

Wed, 04/22/2009 - 03:20
diogene

Oops ! Sorry for the double post.

Wed, 04/22/2009 - 22:12
diogene

Last news : I auto respond :
I just created another user with full rights : the menu is back for him !

Still don't know if the directory supression was the origin of the trouble but :
case is solved !

Thanks

Topic locked