digital ocean - Ubuntu 16.04.2 x64 Cannot execute /bin/bash/: Not a directory how to fix? -
i use digital portal hosting, , put project there jango, go through instruction
$ sudo groupadd --system webapps $ sudo useradd --system --gid webapps --shell /bin/bash --home /webapps/new_studio_app new_studio $ sudo mkdir -p /webapps/new_studio_app/ $ sudo chown new_studio /webapps/new_studio_app/ and try login user
new_studio
root@new-studio:~# sudo su - new_studio cannot execute /bin/bash/: not directory
as per comments, seems there / in shell new_studio user. run below command , should good:
sudo chsh -s /bin/bash new_studio this command set /bin/bash shell new_studio user.
Comments
Post a Comment