現在LPIC101の学習の一貫として仮想環境下bento/centos6.9で学習を進めていたのですが、vagrantユーザーをnologinにしてしまい、exitで抜けてからというものの、vagrant halt
や、vagrnat ssh
、vagrnat up
など効かなくなってしまいました。
また一から作り直してもいいのですが、学習の一貫として直す方法があれば教えていただきたいです。
実際の原因としては、仮想環境下でusermod -s /sbin/nologin vagrant
としてしまったことが原因だと思われます。
ホストOSであるMacからでも設定変更できるのでしょうか?
下記vagrant up実行時のエラーです。
bash
1The configured shell (config.ssh.shell) is invalid and unable 2to properly execute commands. The most common cause for this is 3using a shell that is unavailable on the system. Please verify 4you're using the full path to the shell and that the shell is 5executable by the SSH user.
よろしくお願いします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。