# Eta Usb Login

## Parts:
* udev: Udev trigger that handle usb add/remove events.
* pam: Pam module can authenticate user and create if not exists.
* agent: A Desktop daemon that handle Session close event. Communicate with udev trigger.

## Building:
```shell
meson setup build
ninja -C build
ninja -C build install
```
## How to debug

1. stop service

`service etausblogin stop`

2. create debug file

`touch /etc/etausb.debug`

3. start service file with root

`python3 /usr/share/etausb/main.py`

