Chapter 3. Getting Started

Table of Contents
Creating Administrator Account
Creating New Server
Generating DNS & DHCP Configurations

This chapter is intended as a brief overview of how to build a simple DNS & DHCP server configuration using Sauron. For those in hurry, there is also small demonstration database that can be used to test Sauron quickly (see the Section called Using Demonstration Database).

Creating Administrator Account

First step before using Sauron is to create administrator account(s). Administrator accounts are normal user accounts that have superuser flag enabled. For adding accounts there is command-line utility adduser that can be used to add user accounts either interactive or batch mode. To add administrator (superuser) account interactively, invoke adduser with option --superuser:
        ./adduser --superuser
      
Here is sample output from adduser program:
Enter username: admin
Enter group name (empty for none): 
Enter user description (full name): Administrator
Enter user email address: hostmaster@middle.earth
Enter optional user info: 
Enter account expiration date (dd-mm-yyyy, +<n>d, +<n>y) [none]: 
Enter password [JD!JqRGg]: 
           Username: admin
              Group: <none>
           Longname: Administrator
              email: hostmaster@middle.earth
            comment: 
         expiration: <none>
          superuser: true
Add this user [y/n]?y
User admin added successfully.
      
Normal users accounts can be added interactively by starting adduser without any arguments. Difference between superuser accounts and normal user accounts is that normal accounts need to be granted permission to access/modify desired servers/zones/hosts. See
Chapter 4 for more information about managing user accounts and privileges.