Skip to content

Commit e339c6a

Browse files
authored
doc: fix permission issue with PAM
Install binary in /usr/local/bin/
1 parent e0a9bc7 commit e339c6a

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,18 @@ Download the latest asset [linux-enable-ir-emitter-x.x.x-release-x86-64.tar.gz](
1616
> Please try the 7.0.0-beta! Furthermore, this README has been updated for this version.
1717
1818
```
19-
tar -C $HOME/.local/bin --no-same-owner -m -vxzf linux-enable-ir-emitter*.tar.gz
20-
```
21-
If not already done, add `$HOME/.local/bin` to your `$PATH`, e.g.:
22-
```
23-
echo 'export PATH=$HOME/.local/bin:$PATH' >> $HOME/.bashrc && source $HOME/.bashrc
19+
tar -C /usr/local/bin/ --no-same-owner -m -vxzf linux-enable-ir-emitter*.tar.gz
2420
```
2521

2622
The installation consists of 3 files:
27-
* The executable: `$HOME/.local/bin/linux-enable-ir-emitter`
23+
* The executable: `/usr/local/bin/linux-enable-ir-emitter`
2824
* The logs (for receiving help): `$HOME/.local/state/linux-enable-ir-emitter.log`
2925
* The camera configuration (can be backed up): `$HOME/.config/linux-enable-ir-emitter.toml`
3026

3127
### Integration with Howdy
3228
In all files returned by `grep -rl howdy /etc/pam.d`, add the following line before the one mentioning "howdy", replacing `<USER>` with your actual username:
3329
```
34-
auth optional pam_exec.so /home/<USER>/.local/bin/linux-enable-ir-emitter run --config /home/<USER>/.config/linux-enable-ir-emitter.toml
30+
auth optional pam_exec.so /usr/local/bin/linux-enable-ir-emitter run --config /home/<USER>/.config/linux-enable-ir-emitter.toml
3531
```
3632

3733
> [!TIP]

0 commit comments

Comments
 (0)