quick look at webmin

9
1 © David Morgan 2005 quick look at quick look at webmin webmin - remote, web remote, web- based administration based administration David Morgan © David Morgan 2005 Example Example -- -- using using webmin webmin to drive samba to drive samba webmin does not drive samba configuration files drive samba webmin drives configuration files webmin is really a fancy editor

Transcript of quick look at webmin

Page 1: quick look at webmin

1

© David Morgan 2005

quick look at quick look at webminwebmin

-- remote, webremote, web--based administrationbased administration

David Morgan

© David Morgan 2005

ExampleExample

----using using webminwebmin to drive sambato drive samba

� webmin does not drive samba

� configuration files drive samba

� webmin drives configuration files

� webmin is really a fancy editor

Page 2: quick look at webmin

2

© David Morgan 2005

What is What is webminwebmin??

� a server program

� written in perl

� runs on port 10000 (default)

� graphic interface to all manner of linux config files

� point your browser to target port 10000http://<target>:10000

What does What does webminwebmin look like?look like?

Page 3: quick look at webmin

3

© David Morgan 2005

What is samba?What is samba?

� an implementation of SMB file-sharing protocol

� integrates a linux machine into a Windows network’s “file and printer sharing” activity

� has a config file with defined structure

© David Morgan 2005

smb.confsmb.conf configuration fileconfiguration file

[global]

.

.

[homes]

.

.

[printers]

.

.

[custom]

.

file /etc/smb.conf or /etc/samba/smb.conf

Page 4: quick look at webmin

4

© David Morgan 2005

Sample bare essentialsSample bare essentials

fileserver configuration fileserver configuration

[global]

netbios name = EMACH1

workgroup = ACME

[homes]

browseable = no

writeable = yes

[sharedstuff]

path = /home/shareme

public = yes

writeable = yes

file /etc/smb.conf or /etc/samba/smb.conf

© David Morgan 2005

Giving effect to Giving effect to smb.confsmb.conf

� restart the smb server to reread the config file

� equivalent alternatives

– /etc/rc.d/init.d/smb restart

– service smb restart

Page 5: quick look at webmin

5

© David Morgan 2005

Using Using webminwebmin –– initialinitial

(empty)

smb.conf

let’s go here

© David Morgan 2005

Using Using webminwebmin –– globalsglobals

[global]

workgroup = ACME

netbios name = EMACH1

consequent

smb.conf

Page 6: quick look at webmin

6

© David Morgan 2005

Using Using webminwebmin –– custom sharecustom share

let’s go here

© David Morgan 2005

Using Using webminwebmin –– custom sharecustom share

[global]

workgroup = ACME

netbios name = EMACH1

[shareme]

path = /home/shareme

consequent

smb.conf

Page 7: quick look at webmin

7

© David Morgan 2005

Using Using webminwebmin –– write enablewrite enable

let’s go here

© David Morgan 2005

Using Using webminwebmin –– write enablewrite enable

let’s go here

Page 8: quick look at webmin

8

© David Morgan 2005

Using Using webminwebmin –– write enablewrite enable

consequent

smb.conf

[global]

workgroup = ACME

netbios name = EMACH1

[shareme]

writeable = yes

public = yes

path = /home/shareme

© David Morgan 2005

Using Using webminwebmin –– giving effectgiving effect

go here

Page 9: quick look at webmin

9

© David Morgan 2005

webminwebmin resourcesresources

� webmin homepage/download

http://www.webmin.com

� The Book of Webminhttp://www.swelltech.com/support/webminguide/

� 3rd-party add-on modules

http://webmin.thirdpartymodules.com/