webmin install and login for the first time on ubuntu linux

To instal webmin on ubuntu use

[code] sudo apt-get install webmin webmin-core[/code]

The problem i faced was that I could not login for the first time. The solution is


add line


(where username is a valid user of your system) to your/etc/webmin/miniserv.users file


modify file /etc/webmin/webmin.acl

make the line
[code]root: acl change-users … etc. [/code]

to look like
[code] username: acl change-users … etc. [/code]

Do not change anything in the existing line in your file, just replace root with any valid user.