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

Root hooks don't have much to work with #85

Open
JonathonReinhart opened this issue Jan 17, 2017 · 1 comment
Open

Root hooks don't have much to work with #85

JonathonReinhart opened this issue Jan 17, 2017 · 1 comment

Comments

@JonathonReinhart
Copy link
Owner

Let's say a root hook script wants to copy some files into the scubauser home directory. Right now he has to assume /home/scubauser, because $HOME isn't set until change_user().

What other variables might be useful for the root hook script to have?

@JonathonReinhart
Copy link
Owner Author

It seems like these would be useful, if they weren't unset by scubainit:

  • SCUBAINIT_UID
  • SCUBAINIT_GID
  • SCUBAINIT_USER
  • SCUBAINIT_GROUP

But scubainit is an implementation detail of scuba, and by extension, so are the SCUBAINIT_ variables. Perhaps these should be aliased to SCUBA_*?

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

No branches or pull requests

1 participant