Skip to content

Commit

Permalink
systemd, debian: Install authd in /usr/libexec
Browse files Browse the repository at this point in the history
authd is not a program that is meant to be ran by user, so there's no
point for it being in PATH, as it's systemd running it.

So move it where most daemons stay these daysystemd, debian: Install
authd in /usr/libexec

authd is not a program that is meant to be ran by user, so there's no
point for it being in PATH, as it's systemd running it.

So move it where most daemons stay these days
  • Loading branch information
3v1n0 committed Feb 23, 2024
1 parent 9c2107a commit b5edc1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debian/install
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/dh-exec

# Install daemon in /sbin
usr/bin/authd /usr/sbin/
usr/bin/authd /usr/libexec

# pam-auth-update files
debian/pam-configs/* /usr/share/pam-configs
Expand Down
2 changes: 1 addition & 1 deletion systemd/authd.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PartOf=authd.socket

[Service]
Type=notify
ExecStart=/usr/sbin/authd
ExecStart=/usr/libexec/authd

# Some daemon restrictions
LockPersonality=yes
Expand Down

0 comments on commit b5edc1b

Please sign in to comment.