Ruby 2.4.0 リファレンスマニュアル > ライブラリ一覧 > etcライブラリ > Etc::Passwdクラス > shell=
shell=(shell)
このユーザのログインシェルを設定します。