# The appliance service account

The TrilioVault Appliance is providing an account that allows doing the following through the console:

* Change network interface configuration
* Show logs on the TrilioVault Appliance
* Restart TrilioVault services on the TrilioVault Appliance

## Log in with the ssh service account

The following default credentials allow the usage of the service account:

* username: rhv\_nw
* password: OphaeHaet0

## Change the network configuration

The rhv\_nw user is capable of editing the network configuration files and restarting the interface service.

### Edit the network configuration files

The network interface files are located under:

```
/etc/sysconfig/network-scripts/
```

Use the vi editor to configure the network interface. TrilioVault's default interface is eth0, which is using the following file for its configuration:

```
ifcfg-eth0
```

Edit this file according to the attached network. A typical interface configuration looks as follows

```
BOOTPROTO=static
DEVICE=eth0
HWADDR=52:54:00:90:cc:a1
IPADDR=192.168.1.10
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
DNS1=192.168.1.1
DNS2=8.8.8.8
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
```

{% hint style="warning" %}
A warning will appear that a read-only file is edited. This warning needs to be overwritten using `wq!`
{% endhint %}

### Restart the network interface

{% hint style="danger" %}
Restarting the network interface through ssh will lead to a network disconnect and might end in the TrilioVault appliance becoming inaccessible. \
Only restart network interfaces, when there are means available to reconnect to the Appliance, even when the interface stays down.
{% endhint %}

To restart the network interfaces the rhv\_nw user is capable of using the ifdown and ifup commands.\
Below examples are shown for the default interface eth0.

```
ifdown eth0
ifup eth0
```

Using these two commands will reread the network configuration and apply any changes to the interface.

## Reading the TrilioVault Appliance log files

The rhv\_nw user does have full read permissions on all TrilioVault Appliance log files located in&#x20;

```
/var/log
```

Please refer to the [Important TVM Logs](/rhv/troubleshooting/important-tvm-logs.md) about logs available.

## Control the TrilioVault Service

The rhv\_nw user does have the permission to start, stop and restart the workloadmgr services running on top of the TrilioVault appliance.

The following services can be controlled through the service account:

* wlm-api
* wlm-scheduler
* wlm-workloads

Use the systemctl commands as shown in the following examples for the wlm-api.

```
systemctl stop wlm-api
systemctl start wlm-api
systemctl restart wlm-api
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.trilio.io/rhv/admin-guide/the-appliance-service-account.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
