LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-05-2005, 10:34 AM   #1
maerong
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 9.2
Posts: 23

Rep: Reputation: 15
Webmin: Error - Access Denied


I have done an apt-get install of webmin on to Sarge. Now I am trying to access the web interface from another box on the same network, ie

https://servername:10000

First I am asked if I want to accept the (default) security certificate, so I say yes. And now, I get

Error - Access Denied for 192.168.xxx.xxx

What have I done wrong?
 
Old 01-05-2005, 02:50 PM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

do u have some kind of firewall running

try turning that off first

regards
 
Old 01-06-2005, 07:37 AM   #3
maerong
LQ Newbie
 
Registered: Mar 2004
Distribution: Mandrake 9.2
Posts: 23

Original Poster
Rep: Reputation: 15
I have solved this problem now. It wasn't a firewall issue, the webmin server and client are on the same local network and I wasn't trying to access it from outside.

Turns out the answer is in the documentation:

/usr/share/doc/webmin/README.Debian

Basically the default configuration on debian is set to only allow access from listed IP addresses, and the only listed IP address is 127.0.0.1, ie the webmin server itself.

To edit the configuration, I first installed the lynx web-browser, since I'm not running a desktop on the webmin server, and used that to access webmin:

apt-get install lynx

lynx https://localhost:10000

From there I was able to login and add my local network (192.168.10.0) to the allowed list via Webmin Configuration -> IP Access Control. I did get a bit bored of the "unknown security certificate" dialogue popping up on every page, so next time I would choose "Always Accept" the first time it asks.

FInally, restart webmin with

/etc/init.d/webmin restart

and I can now login to webmin from my PC!


.
 
Old 01-06-2005, 07:51 AM   #4
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
good that it is working now

and thanks for sharing the info!!

regards
 
Old 01-06-2005, 08:41 AM   #5
ghight
Member
 
Registered: Jan 2003
Location: Indiana
Distribution: Centos, RedHat Enterprise, Slackware
Posts: 524

Rep: Reputation: 30
Thats a nice way of doing it but you can also just manually edit the /etc/webmin/miniserv.conf file. All you do is comment out or add your local network on the 'allow' line. It will look something like this:

Code:
allow=192.168.1.0 127.0.0.1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Denied Error rlhjr20002 Linux - Security 3 03-01-2005 03:42 PM
webmin - access denied bobbens Linux - Software 6 01-16-2005 09:42 AM
apache and webmin - access denied? Moebius Linux - Software 1 10-12-2004 08:23 AM
Samba server: access denied error vharishankar Linux - General 7 09-07-2004 12:17 AM
MySQL: Access denied error Raptor Ramjet Slackware 5 02-22-2004 08:07 AM


All times are GMT -5. The time now is 09:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration