Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

none Pi users can run qmi_reconnect.service #9

Open
blackbicbiro opened this issue Jun 7, 2022 · 1 comment
Open

none Pi users can run qmi_reconnect.service #9

blackbicbiro opened this issue Jun 7, 2022 · 1 comment

Comments

@blackbicbiro
Copy link

Issue with none pi default users. My default users with uid:gid 1000:1000 is not pi it is now Nomad-Maxi
Systemd gives me the following errors

Jun 07 18:31:02 rp-cell-test-fabsix sh[670]: Connection down, reconnecting...
Jun 07 18:31:02 rp-cell-test-fabsix sh[670]: sudo: no tty present and no askpass program specified
Jun 07 18:31:02 rp-cell-test-fabsix sudo[3190]: pam_unix(sudo:auth): conversation failed
Jun 07 18:31:02 rp-cell-test-fabsix sudo[3190]: pam_unix(sudo:auth): auth could not identify password for [Nomad-Maxi]

changed User=Nomad-Maxi in the .service file. but still getting the same issue

Anyone seen this before?

@rmorgans
Copy link

You should make sure your sudo is passwordless, so change the old

pi@ss1:~$ sudo cat /etc/sudoers.d/010_pi-nopasswd 
pi ALL=(ALL) NOPASSWD: ALL

to something like:

pi@ss1:~$ sudo cat /etc/sudoers.d/010_Nomad-Maxi-nopasswd 
Nomad-Maxi ALL=(ALL) NOPASSWD: ALL

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants