sous-chefs / users

Development repository for the users cookbook
https://supermarket.chef.io/cookbooks/users
Apache License 2.0
138 stars 218 forks source link

User shell is path is not the same on every OS #484

Open feld opened 1 year ago

feld commented 1 year ago

On FreeBSD for example, the path for zsh is going to be /usr/local/bin/zsh

On Linux servers it will be /usr/bin/zsh

How do you remediate this when trying to deploy user accounts across multiple platforms?

A nice feature would be to not require a full path for a shell and have the client expand it automatically by doing e.g., which zsh