mirror of
https://github.com/Cacti/documentation.git
synced 2026-12-06 15:13:53 +09:00
* docs: [1.2.x] refresh the manual front page The front page opened with version notes before saying what Cacti is, used headings as sentences in the credits, and its table of contents listed seven sections while the page has ten. Open with a short description and a getting-started sequence, link the website and forums, give the credits real headings, and list every section in the table of contents in page order. Record Jeff Pasnak under In Memoriam with a link to the 1.2.31 release announcement. Correct label typos and wrap long entries with reference links. Existing section anchors are unchanged, and every page is still linked. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: [1.2.x] fix typos, unrendered headings and forum links A check of every page linked from the front page found misspellings in eleven pages, three Mactrack headings written without a space after the hashes, which render as plain text, and two forum links still using http. Correct the spellings, add the missing space so the headings render, and point the forum links at https, where they already redirect. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: [1.2.x] align the plugin pages with the plugin READMEs The supported plugins list and the Syslog and Mactrack pages had drifted from the README and INFO files in the plugin repositories. Update the descriptions that the READMEs contradict: Monitor's Thold requirement, the Router Configs transfer methods, the ReportIt release and Cacti versions, the WMI collection methods and its development status, and NUT support in Apcupsd. Add the Syslog requirements, the upgrade procedure, the dedicated database settings and the remote collector settings, and correct the database grant and a misplaced code fence. Add the Mactrack requirements and a short section on history partitioning and ignored ports that links to the README. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: [1.2.x] correct grammar, spelling and broken Markdown A read of every page linked from the front page found grammar and spelling errors throughout, and Markdown that does not render as intended. Correct grammar, spelling, punctuation and product-name capitalization in 95 pages without changing headings, code blocks, link targets or the meaning of the text. Repair the Markdown defects: a code fence in the SSH tunnel how-to that never closed, malformed bold markers in the user management and device defaults pages, a release notes table with no blank line before it, split rows in the tree sorting table, and LDAP list items missing their markers. Correct three interface labels quoted with typos. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * docs: [1.2.x] correct statements that differ from the 1.2.x source Reviewers of the linked pages flagged statements that looked wrong. Each was compared with the Cacti 1.2.x source at 1523aa04b, and only those the source or the page itself settles are changed. Correct interface labels and option names (Index Count Changed, Permissive, Not Selected, Utilities, the BCC description, the gear icon for plugin install), the default Maximum Value of U for a new data source item, the sysDescr object name, the PHP floor wording in the requirements table, the Mactrack wildcard character and the snmptrapd -On option. Repair cross-references, example values that disagree with their commands, two table captions, a split list and several sentences with missing words. Statements the source does not settle are left as written. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
407 lines
16 KiB
Markdown
407 lines
16 KiB
Markdown
# User Management
|
|
|
|
In addition to giving you the tools to create sophisticated **Graphs**, Cacti
|
|
enables you to manage **User** and **User Group** access to those **Graphs** as
|
|
well as various other areas of Cacti. Each **User** has a variety of settings
|
|
and permissions. Some of these settings can be controlled by the individual
|
|
**User** via editing their Profile, or controlled by the Cacti Administrator. A
|
|
**User's** Cacti permissions are only modifiable by authorized Cacti
|
|
Administrators.
|
|
|
|
Note: for users to see new settings, they will have to log off and back in
|
|
again to view.
|
|
|
|

|
|
|
|
Out of the box, there are two users that come with every Cacti installation. The
|
|
"admin" user - the main user that by default has access to see and change
|
|
everything in Cacti. This is the user that you first log in with in Cacti, and
|
|
it is probably a good idea to keep around unless you know otherwise. The second
|
|
user is the "guest" user, which controls which areas/graphs are allowed for
|
|
unauthenticated users.
|
|
|
|
By default, this user only has rights to view, but not change graphs. This
|
|
enables any unauthenticated user to visit 'graph_view.php' and view your graphs.
|
|
This behavior can be changed by either changing the realm permissions for the
|
|
"guest" user, or disabling the guest user altogether under Cacti Settings. By
|
|
default in 0.8.7 and later, the "guest" user is not enabled, effectively
|
|
disabling "guest" (Unauthenticated) access to Cacti.
|
|
|
|
## Editing an existing User
|
|
|
|
To edit an existing user, select the Users item under the Configuration
|
|
heading on the Cacti menu. Once at the user management screen, click the
|
|
username of the user you wish to edit. You will see a screen that looks similar
|
|
to the image below.
|
|
|
|

|
|
|
|
At minimum, you must specify a User Name and a Password for each user. Each user
|
|
field is described in more detail below. In addition to these fields, each user
|
|
can have their own realm permissions, graph permissions, and graph settings.
|
|
Each of these items is described in this section of the manual.
|
|
|
|
### User Management Options
|
|
|
|
- **_User Name_**
|
|
|
|
This field contains the login name for the user. There are no character limits
|
|
on this field, but it would make sense to keep it to alphanumeric characters
|
|
to maintain simplicity.
|
|
|
|
- **_Full Name_**
|
|
|
|
(Optional) You can use this field as a more descriptive identifier for the
|
|
user. It is currently only used for display on the user management page.
|
|
|
|
- **_Email Address_**
|
|
|
|
(Optional) An Email Address where the user can be reached.
|
|
|
|
- **_Password_**
|
|
|
|
Enter the password for the user twice, once in each text box. Keep in mind
|
|
that passwords are case sensitive and the password will remain unchanged if
|
|
the boxes are both left empty.
|
|
|
|
- **_Enabled_**
|
|
|
|
Determines if the user is able to log in.
|
|
|
|
- **_Locked_**
|
|
|
|
Determines if the user account is locked.
|
|
|
|
- **_Account Options_**
|
|
|
|
There are three account related options that can be set for each user.
|
|
|
|
- **_Must Change Password at Next Login_**
|
|
|
|
Force a password change immediately after the user logs in.
|
|
|
|
- **_Change Password_**
|
|
|
|
Allows the user to change their own password. This option is on by
|
|
default.
|
|
|
|
- **_Maintain Custom Graph and User Settings_**
|
|
|
|
Allows user to maintain their own custom graph viewing settings.
|
|
|
|
- **_Graph Options_** -
|
|
|
|
Enables certain defined graph viewing options.
|
|
|
|
- _User Has Rights to Tree View_
|
|
|
|
- _User Has Rights to List View_
|
|
|
|
- _User Has Rights to Preview View_
|
|
|
|
- **_Login Options_**
|
|
|
|
These options set what occurs after the user logs in.
|
|
|
|
- **_Show the page that user pointed their browser to_**
|
|
|
|
Will point the user to whatever page they were heading to before being
|
|
interrupted by the login page.
|
|
|
|
- **_Show the default console screen_**
|
|
|
|
This option will always point the user to 'index.php' after a successful
|
|
login.
|
|
|
|
- **_Show the default graph screen_**
|
|
|
|
This option will point the user to default graph view after login.
|
|
|
|
- **_Authentication Realm_**
|
|
|
|
This setting allows you to specify a user for use with `Local`, `Web Basic` or
|
|
`LDAP` Authentication.
|
|
|
|
**Note:** Template users must be Local.
|
|
|
|
## User Interface Permissions
|
|
|
|
Realm permissions control which areas of Cacti a user can access. You can edit a
|
|
user's realm permissions by selecting User Management and choosing the user you
|
|
want to edit the permissions for. The Realm Permissions box will be displayed in
|
|
the lower part of the screen. Each "realm" is a grouping that represents common
|
|
tasks in Cacti, making it easier to fine tune each user's access.
|
|
|
|
If you want to create a user that can only view graphs, you should select the
|
|
View Graphs realm and leave everything else unchecked. See the Graph Permissions
|
|
section for more information about how to fine tune this even more on a
|
|
per-graph basis. Conversely, if the user needs to access the console, they will
|
|
need Console Access and any additional realms that you see fit.
|
|
|
|

|
|
|
|
## Graph Permissions
|
|
|
|
**Graph Permissions** control which graphs a user is allowed to view. However,
|
|
in general, these permissions do not apply to editing graphs. You can edit a
|
|
**User's** **Graph Permissions** either by assigning that **User** to one to
|
|
many **User Groups**, or by modifying their **Graph Permissions** directly.
|
|
|
|

|
|
|
|
Cacti supports four Graph Permission models. There is the `Permissive` Graph
|
|
permission which states that if a user has access either to the Graph, the
|
|
Device or Graph Template, the user will have access to all the Graphs that match
|
|
that class. For example, in the `Permissive` model, if you have access to the
|
|
**Device**, you have access to all its **Graphs**. If you have access to a
|
|
**Graph Template**, you have access to every **Device Graph** that matches that
|
|
**Graph Template**.
|
|
|
|
The second Graph Permission model is `Restrictive`. In the `Restrictive` Graph
|
|
permission model, you must have access either to the **Graph** directly, or both
|
|
the **Device** and **Graph Template**. Using this permission model requires the
|
|
**Users** and **User Groups** have much more specific access if they want to
|
|
gain access to various device Graphs.
|
|
|
|
The `Permissive` and `Restrictive` models have scalability problems for very
|
|
large installs, so two additional models are available. With `Device Based`,
|
|
access to a **Device** grants access to its **Graphs**. With `Graph Template
|
|
Based`, access to a **Graph Template** grants access to all **Device Graphs**
|
|
of that **Graph Template**. When `Device Based` is selected, the **Template
|
|
Perms** sub-tab is not shown for a **User**. When `Graph Template Based` is
|
|
selected, the **Device Perms** sub-tab is not shown.
|
|
|
|
We introduced these new permission models and administrative processes to
|
|
simplify the Cacti permission system, and to increase its usability.
|
|
|
|
In addition to the Graph Permission models, which can be set from
|
|
**Console > Configuration > Settings > General**, a **User** or **User Group**
|
|
is either `Allowed` or `Denied` all **Graphs**, **Devices** and **Graph
|
|
Templates** through a setting called the **Default Policy** in each of the
|
|
Permission Tabs. The **Graph Permissions** tab includes an `Effective Policy`,
|
|
which combines all the **User's** various **User Group** and **User**
|
|
permissions to provide an effective permission. If the **Graph** is ultimately
|
|
permitted for the **User** to view, you will see for what reason from this
|
|
Permission tab.
|
|
|
|
Note: even if a **User** is denied access to a **Device** or **Graph Template**,
|
|
but has access to at least one **Graph** from that **Device** or **Graph
|
|
Template**, they will see that **Device** or **Graph Template** name in areas of
|
|
Cacti that display it.
|
|
|
|
## Default Permission Policies
|
|
|
|

|
|
|
|

|
|
|
|
## Device Permissions
|
|
|
|
**Device Permissions** allow you to `Grant` or `Revoke` access to specific
|
|
**Devices**. If you wish to `Grant` or `Revoke` access to a **Device**, you can
|
|
select it, and then choose the specified action from the drop down, and press
|
|
the `Go` button to make that permission change. As mentioned above, revoking
|
|
**Device** access does not necessarily block a **User** from seeing that
|
|
**Device** from the User Interface.
|
|
|
|

|
|
|
|
## Template Permissions
|
|
|
|
**Template Permissions** allow you to `Grant` or `Revoke` access to specific
|
|
**Graph Templates**. If you wish to `Grant` or `Revoke` access to a **Graph
|
|
Template**, you can select it, and then choose the specified action from the
|
|
drop down, and press the `Go` button to make that permission change. As
|
|
mentioned above, revoking **Graph Template** access does not necessarily block a
|
|
**User** from seeing that **Graph Template** from the User Interface.
|
|
|
|

|
|
|
|
## Tree Permissions
|
|
|
|
Cacti allows the Administrator to `Grant` and `Revoke` **Tree** permissions from
|
|
this tab. The Cacti **Tree** permissions are a single level security object.
|
|
However, when you browse a **Tree** to its various branches, a user will only
|
|
be allowed access to the Graphs and Devices that they have access to. Managing
|
|
permissions to **Trees** is identical to **Graphs**, **Devices** and **Graph
|
|
Templates** otherwise. Additionally, Cacti will hide branches from a
|
|
**User** when they have no access to any **Devices** or **Graphs** within it.
|
|
|
|
## User Specific Settings
|
|
|
|
Cacti optionally allows **Users** to control certain **User Settings** such as
|
|
their `Email Address` and `Full Name`. However, the Cacti Administrator also has
|
|
the ability to view a **User's** settings and modify them for the **User** from
|
|
the **User Settings** tab. This feature allows the Cacti Administrator to better
|
|
support their **Users**. However, you can disable a **User's** ability to modify
|
|
defaults from the `General` **User Management** tab. This is important for the
|
|
`guest` account for example.
|
|
|
|

|
|
|
|

|
|
|
|

|
|
|
|
## Caching of Permissions
|
|
|
|
In order to increase Cacti User Interface performance, when a **User** first
|
|
checks for their permissions after login to either **Devices** or **Graph
|
|
Templates** those permissions are cached for their entire login session. If you
|
|
change a **User's** **Device** or **Graph Template** permissions, they will not
|
|
see those permission changes until their next login.
|
|
|
|
## Creating a New User
|
|
|
|
To create a new user, select the Users item under the Configuration
|
|
heading on the Cacti menu. Once at the user management screen, click the plus
|
|
(+) glyph.
|
|
|
|

|
|
|
|
At minimum, you must specify a `User Name`, `Password` and `Login Realm` for
|
|
each user. Each **User** field is self documented either below the field, or in
|
|
the help bubble to the right of it. In addition to the fields on the `General`
|
|
tab, settings can be controlled from the various sub-tabs when editing a user.
|
|
Those sub tabs include:
|
|
|
|
### General
|
|
|
|
From this sub-tab, you can modify general **User** attributes including Full
|
|
Name, Email Address, Lockout status, Account Options, Graph Options, etc.
|
|
|
|
### Permissions
|
|
|
|
From this sub-tab, you control what areas of Cacti a **User** has access to.
|
|
Cacti has broken those access areas into various `Roles` to make the setting of
|
|
permissions easier to understand. Note that **Plugin** permissions are still
|
|
grouped by Plugin in the current version of Cacti. This will change over the
|
|
next few releases to be more in line with the various Cacti Roles.
|
|
|
|

|
|
|
|
### Group Membership
|
|
|
|
From this sub-tab, you can assign or remove users from various **User Groups**.
|
|
|
|
### Graph Perms
|
|
|
|
From this sub-tab, you can view a user's `Effective` Graph permissions and also
|
|
`Grant` or `Revoke` access to **Graphs** for an individual **User**.
|
|
|
|

|
|
|
|
### Device Perms
|
|
|
|
From this sub-tab, you can view and edit a user's **Device** permissions. Note
|
|
that removing a user's permission to a **Device** can be overridden if they have
|
|
access to either a **Graph** or, depending on the permission model you have
|
|
chosen, a **Device's** **Graph Template**.
|
|
|
|

|
|
|
|
### Template Perms
|
|
|
|
From this sub-tab, you can `Grant` or `Revoke` a **User's** access to various
|
|
Cacti **Graph Templates**.
|
|
|
|

|
|
|
|
### Tree Perms
|
|
|
|
From this sub-tab, you can `Grant` or `Revoke` a **User's** access to the
|
|
various Cacti **Trees**.
|
|
|
|
### User Settings
|
|
|
|
From this sub-tab, you can modify a **User's** settings to assist the **User**
|
|
with their use of Cacti, or to set defaults for that **User**.
|
|
|
|

|
|
|
|
## Copying a user
|
|
|
|

|
|
|
|
To copy a **User** to a new one, go to **Console > Configuration > Users**. Once
|
|
at the **Users** interface, highlight the **User** you would like to copy from
|
|
and select `Copy` from the `Choose an action` drop down selection box, click
|
|
`Go` to continue. If you select multiple users, only the first selected **User**
|
|
will be used as the source **User**.
|
|
|
|

|
|
|
|
Specify the New Username, New Full Name and New Realm of the new user. Click
|
|
`Continue` to copy the selected template user to the designated new user. An
|
|
error will be returned if you attempt to copy over an existing user. If you
|
|
would like to copy over an existing user, use Batch Copy.
|
|
|
|
## Enable/Disable Users
|
|
|
|

|
|
|
|
To enable or disable a set of or a single user, select the Users item
|
|
under the Configuration heading on the Cacti menu. Once at the **Users**
|
|
interface, highlight the **User** you would like to `Enable` or `Disable` and
|
|
select either `Enable` or `Disable` from the `Choose an action` drop down
|
|
selection box, click `Go` to continue.
|
|
|
|

|
|
|
|
Confirm that you want to disable or enable the listed users. Click `Continue` to
|
|
perform the action. Disabling your own account is not permitted.
|
|
|
|
## Batch Copy Users
|
|
|
|
Batch Copy is a helpful utility that helps Cacti Administrators maintain users.
|
|
It is often necessary to mass update users. This is what Batch Copy does for
|
|
you.
|
|
|
|

|
|
|
|
To Batch Copy a set of or a single user, select the **Users** interface under
|
|
**Console > Configuration**. Once at the **Users** interface, highlight the
|
|
**Users** you would like to batch copy information to and select `Batch Copy`
|
|
from the `Choose an action` drop down selection box, click `Go` to continue.
|
|
|
|

|
|
|
|
Select the `Template User` and confirm that you want to `Batch Copy` the listed
|
|
**Users**. Click `Continue` to perform the action.
|
|
|
|
It is important to note that when using `Batch Copy` the original **User's**
|
|
`Full Name`, `Password`, `Login Realm` and `Enable` status will be retained, all
|
|
other fields will be overwritten with values from the selected `Template User`.
|
|
|
|
## Delete Users
|
|
|
|

|
|
|
|
To delete a single **User** or a set of **Users**, highlight them in the
|
|
**Console > Configuration > Users** interface, then select `Delete` from the
|
|
`Choose an action` drop down selection box and press `Go` to continue.
|
|
|
|

|
|
|
|
Confirm that you want to delete the listed users. Click `Continue` to perform
|
|
the action. Deleting your own account is not permitted.
|
|
|
|
## Guest (Anonymous) Access
|
|
|
|
By default, Guest or Anonymous access is disabled in Cacti. Enabling "Guest"
|
|
access is easy. But, you must understand that you should only allow the
|
|
designated "Guest" user access to what you authorized. It is not suggested that
|
|
you give the designated "Guest" user more than just access to graphs. To enable
|
|
guest access, first, you need a designated "Guest" user. Cacti by default comes
|
|
with one already created that has access to only graphs.
|
|
|
|
It is important to note that the default guest user has access to all graphs on
|
|
the system. Once you have created the "Guest" user, you need to tell Cacti what
|
|
the "Guest" user is. This is done by updating the Authentication Settings and
|
|
selecting the "Guest" user you have designated. The "Guest" user must be enabled
|
|
and be set as the guest user for anonymous access to work.
|
|
|
|
---
|
|
|
|
Copyright (c) 2004-2026 The Cacti Group
|