-
Notifications
You must be signed in to change notification settings - Fork 106
Running as a non-admin user asks for password I don't know #152
Comments
Hm, that's a tricky one. By installing as |
I worked around it by running
comment out line 1097 in function install {
log_info "Starting install of docker-osx-dev"
# XXX install_dependencies
init_docker_host
install_rsync_on_docker_host
add_docker_host
add_environment_variables
print_next_steps
}
After that, it works ok, and I could try to find some time to make a PR to make the install_dependencies optional, with a function init {
log_info "Initializing docker-osx-dev"
init_docker_host
install_rsync_on_docker_host
add_docker_host
add_environment_variables
print_next_steps
} |
Nice. A |
…ating installs where homebrew needs to be run as a different user github brikis98/docker-osx-dev issue brikis98#152
- don't use global vars
- better alignment of --help instructions
I run homebrew and
docker-osx-dev install
asadmin
(privileged user), and do my development asroel
(an unprivileged user, who isn't member of the admin group)If I run
docker-osx-dev
asadmin
, it works, and it starts rsyncing.However if I run
docker-osx-dev
asroel
, it asks for adocker@localhost
's password:I have no idea what this password would be. I presume this is somehow caused by the installation linking
admin
's ssh key to the vm's authorized_keys?I cannot do
docker-osx-dev install
as roel:I don't want my regular user to be able to write to /usr/local for security reasons.
Am I doing something wrong here? should I run
docker-osx-dev
asadmin
? This feels wrong, since the directory I want to rsync lives inroel
's home dir.The text was updated successfully, but these errors were encountered: