NetBox
NetBox (wikipedia:en:NetBox) is available as a module.
configuration examples
minimal configuration
basic configuration
login
no (initial) account is create by default
tl;dr: No login is possible after installing and running NetBox. No account is created. You have to #create an initial account.
reenact that there is no initial account created by default
su postgres
psql
postgres=#
\l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+-------------+-------------+-----------------------
netbox | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =Tc/postgres +
| | | | | postgres=CTc/postgres+
| | | | | netbox=CTc/postgres
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
(4 rows)
postgres=#
\c netbox
You are now connected to database "netbox" as user "postgres".
netbox=#
\dt
netbox=#
SELECT * FROM auth_user;
id | password | last_login | is_superuser | username | first_name | last_name | email | is_staff | is_active | date_joined
----+----------+------------+--------------+----------+------------+-----------+-------+----------+-----------+-------------
(0 rows)
netbox=#
\q
exit
create an initial account
(first you have to) create an initial account (on the cli)
- this initial account will get highest privileges
netbox-manage createsuperuser
Username (leave blank to use 'netbox'):
Email address:
Password:
Password (again):
Superuser created successfully.
first login
https://netbox.domain.tld/login/
- Login
- netbox
- Password
- …
- Sign In