Running A File- And Print-Server With eBox On Ubuntu 8.04 Server - Page 2

5 Change Your eBox Password

If you'd like to change your eBox password, you can do this under System -> General:


6 Date And Time Settings

To adjust the system time, go to System -> Date/time and enable time synchronization with NTP servers. Click on Change:

Then enter some NTP servers, e.g. and Click on Change. Don't forget to click on the red Save changes rectangle afterwards:


7 Create Groups

eBox allows you to create groups which can have different permissions. For example, one group could be allowed to use the printer, but not the file server, and vice versa for another group. In this article I create two example groups, one for the tech department and one for the sales department (groups are created instantly, so no red rectangle will appear).


8 Create Users

eBox lets you also create users that can be put in the groups you created before, thus inheriting the group permissions, but you can also assign individual permissions to each user. In this example, I create two users (under Users -> Add user): tim in the group techdpt and bob in the group salesdpt:

Make sure you enable PDC/file sharing for each user (unless you don't want that user to use these features):


9 Print Server

With eBox, you can also create a print server for your network. eBox supports USB, parallel, network, and Samba printers. In this example, I have connected a Brother HL-5040 laser printer to my eBox system with USB.

First, we must add the printer to our eBox configuration (under Printers -> Add printer):

Here you must select the best driver for your printer. You can go to to find out the best driver for your printer model.

Don't forget to click on the red Save changes button afterwards.

Under Printers -> Manage printers, you can enable standalone CUPS for your printer. I'm not sure if this is necessary. The explanation that eBox gives for this feature is: "This will enable cupsd to listen on internal interfaces to see printers and jobs. If set, samba is not the only one which can manage the printers."

Share this page:

9 Comment(s)

Add comment


From: at: 2009-05-11 23:30:13

If you did something wrong and/or would like to change some settings, you need to do the following for complete uninstall (don't need "sudo" if logged in as root):

sudo apt-get remove --purge "^ebox-.*"
sudo apt-get remove --purge libebox

Also see:

From: Jim Robinson at: 2008-10-03 01:17:48

Hi Falko,

I believe a comment needs to be added at the end of page 2 about changing the port to eg 444 instead 443 when running a web/intranet server from the same server. Apache2 uses 443.

Best Wishes

Jim R

From: Anonymous at: 2009-06-13 02:39:41

Had problems installing ebox on Ubuntu 8.04.2 LTS. (Linux 2.6.24-24-server #1 SMP i686 GNU/Linux) Please post fix for this here. Clamav already installed.


user@server:~$ sudo apt-get install "^ebox-.*"

Reading package lists... Done

Building dependency tree

Reading state information... Done

Note, selecting ebox-openvpn for regex '^ebox-.*'

Note, selecting ebox-ca for regex '^ebox-.*'

Note, selecting ebox-network for regex '^ebox-.*'

Note, selecting ebox-dhcp for regex '^ebox-.*'

Note, selecting ebox-mailfilter for regex '^ebox-.*'

Note, selecting ebox-jabber for regex '^ebox-.*'

Note, selecting ebox-webserver for regex '^ebox-.*'

Note, selecting ebox-egroupware for regex '^ebox-.*'

Note, selecting ebox-mail for regex '^ebox-.*'

Note, selecting ebox-dns for regex '^ebox-.*'

Note, selecting ebox-trafficshaping for regex '^ebox-.*'

Note, selecting ebox-ntp for regex '^ebox-.*'

Note, selecting ebox-software for regex '^ebox-.*'

Note, selecting ebox-usersandgroups for regex '^ebox-.*'

Note, selecting ebox-samba for regex '^ebox-.*'

Note, selecting ebox-objects for regex '^ebox-.*'

Note, selecting ebox-squid for regex '^ebox-.*'

Note, selecting ebox-printers for regex '^ebox-.*'

Note, selecting ebox-services for regex '^ebox-.*'

Note, selecting ebox-firewall for regex '^ebox-.*'

Some packages could not be installed. This may mean that you have

requested an impossible situation or if you are using the unstable

distribution that some required packages have not yet been created

or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that

the package is simply not installable and a bug report against

that package should be filed.

The following information may help to resolve the situation:

The following packages have unmet dependencies:

  ebox-mailfilter: Depends: clamav (< 0.94) but 0.94.dfsg.2-1ubuntu0.3~hardy4 is to be installed

                   Depends: clamav-daemon (< 0.94) but 0.94.dfsg.2-1ubuntu0.3~hardy4 is to be installed

                   Depends: clamav-freshclam (< 0.94) but 0.94.dfsg.2-1ubuntu0.3~hardy4 is to be installed

E: Broken packages


From: Anonymous at: 2009-06-13 02:57:39

Please add this MODS as fix for my problem

STEP 1: sudo vim /etc/apt/sources.list

STEP 2: change entry from "deb hardy main" 

to "deb hardy main"

STEP 3: sudo apt-get update

STEP 4: apt-get install "^ebox-.*" 


From: at: 2009-07-16 20:33:51

Where do you guys get firefox or any other browser?

 8.04 server does not come with firefox that I can find, and when I download it and install it it gives off an error of some kind which I cannot remember, but that is immaterial...Falco just kicked firefox into gear and I see no way...I even installed kde and xwindows for a graphical environment, and still firefox won't run.

From: Jamie Strandboge at: 2009-12-28 15:53:40

I noticed that this tutorial recommends to disable all of AppArmor. Unless you have a very specific need to do so, this is not recommended. In particular, there have been vulnerabilities in CUPS that the apparmor profile proactively protected against on systems that did not apply the security updates in a timely manner. The apparmor profiles shipped in Ubuntu are designed to work with the default installation. If a particular profile is causing you trouble, please disable the profile or put it in complain mode, and leave the other profiles that are not causing problems to do their jobs. Better yet, file a bug. :) See my blog entry at for details.

From: Anonymous at: 2009-10-24 16:48:09

by the time you get to this stage you should be using a different computer to log in to the server. the server edition of ubuntu doesn't include a gui for the simple fact that it is a server & not a desktop machine. you can even disconnect the keyboard & monitor from the server box now. use the terminal on another linux machine or putty for windows to log in remotely, or your favourite web browser to access the server's web interface.

From: mediafire search at: 2010-03-14 13:29:04

great article, thanks for sharing.

From: at: 2009-07-12 12:28:10

Nice HowTo.