Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"pi" is no longer the standard user name on Raspberry PIs #133

Open
askpatrickw opened this issue May 18, 2023 · 0 comments
Open

"pi" is no longer the standard user name on Raspberry PIs #133

askpatrickw opened this issue May 18, 2023 · 0 comments

Comments

@askpatrickw
Copy link

Lots of the code assumes /home/pi is the path and pi is user.
It is no longer the given that "pi" is the user name everyone is using.

Some alternative approaches to take:

  • .sh: use "~" or $HOME
  • .py: use os.getenv('HOME')

I am not sure if those will also work when running as a service.

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

No branches or pull requests

1 participant