Fortinet black logo
7.2.0

Linux Files Directories and Commands

Linux Files Directories and Commands

There are two locations where Persistent Agent Settings are stored:

  • Default Settings: Upon installation of the Persistent Agent, the default settings are written to the vendor locations indicated in the chart below. Settings written to the default location remain until one of the following occurs:

    • Entry is manually changed.

    • Agent is uninstalled.

    • Agent is updated.

      Important:

    • The default location should not be used when pushing settings via software.

    • If the Persistent Agent installer is modified in any way, the update functionality in FortiNAC may remove any or all customization.

  • Policy Settings: Used when pushing settings via software. These settings take precedence over the Default Settings. Policy Settings can only be changed via software push.

Files and Directories

Description

File or Directory

Created upon installation of the agent. Contains default Persistent Agent settings

/etc/xdg/com.bradfordnetworks/PersistentAgent.conf

Contains all non-default (Policy) Persistent Agent settings

/etc/xdg/com.bradfordnetworks/ PersistentAgentPolicy.conf

Script which sets non-default Persistent Agent settings.

Home Server

Allowed Servers

Restrict Roaming

Writes to

/etc/xdg/com.bradfordnetworks/ PersistentAgent.conf

/opt/com.bradfordnetworks/PersistentAgent/setup

Directory Persistent Agent package is installed

/opt/com.bradfordnetworks/PersistentAgent/

Persistent Agent service

/opt/com.bradfordnetworks/PersistentAgent/bndaemon

Agent logs

/var/log/bndaemon

Commands

Description

Command

Stop the agent

sudo service bndaemon stop

Start the agent

sudo service bndaemon start

Restart the agent

sudo service bndaemon restart

Install rpm file

sudo rpm -Uvh <agent .rpm filename>

Uninstall rpm file

sudo rpm -ev fortinac-persistent-agent

Install deb file

sudo dpkg -i <agent .deb filename>

Uninstall deb file

sudo dpkg --purge fortinac-persistent-agent

Linux Files Directories and Commands

There are two locations where Persistent Agent Settings are stored:

  • Default Settings: Upon installation of the Persistent Agent, the default settings are written to the vendor locations indicated in the chart below. Settings written to the default location remain until one of the following occurs:

    • Entry is manually changed.

    • Agent is uninstalled.

    • Agent is updated.

      Important:

    • The default location should not be used when pushing settings via software.

    • If the Persistent Agent installer is modified in any way, the update functionality in FortiNAC may remove any or all customization.

  • Policy Settings: Used when pushing settings via software. These settings take precedence over the Default Settings. Policy Settings can only be changed via software push.

Files and Directories

Description

File or Directory

Created upon installation of the agent. Contains default Persistent Agent settings

/etc/xdg/com.bradfordnetworks/PersistentAgent.conf

Contains all non-default (Policy) Persistent Agent settings

/etc/xdg/com.bradfordnetworks/ PersistentAgentPolicy.conf

Script which sets non-default Persistent Agent settings.

Home Server

Allowed Servers

Restrict Roaming

Writes to

/etc/xdg/com.bradfordnetworks/ PersistentAgent.conf

/opt/com.bradfordnetworks/PersistentAgent/setup

Directory Persistent Agent package is installed

/opt/com.bradfordnetworks/PersistentAgent/

Persistent Agent service

/opt/com.bradfordnetworks/PersistentAgent/bndaemon

Agent logs

/var/log/bndaemon

Commands

Description

Command

Stop the agent

sudo service bndaemon stop

Start the agent

sudo service bndaemon start

Restart the agent

sudo service bndaemon restart

Install rpm file

sudo rpm -Uvh <agent .rpm filename>

Uninstall rpm file

sudo rpm -ev fortinac-persistent-agent

Install deb file

sudo dpkg -i <agent .deb filename>

Uninstall deb file

sudo dpkg --purge fortinac-persistent-agent