sudo su edxapp not working

183 views
Skip to first unread message

Ahmad Abd Arrahman

unread,
Jan 16, 2014, 9:05:30 PM1/16/14
to edx-...@googlegroups.com
I just updated my devstack using vagrant provision then when running sudo su edxapp nothing happens, the prompt still the same vagrant@precise64:~$ event it is not changing to the edx-platform dir.
any hints how to figure out what is wrong?
BTW sudo su forum is working fine

Dmitry Makovey

unread,
Jan 17, 2014, 12:28:44 PM1/17/14
to edx-...@googlegroups.com
it may have something to do with the fact that edxapp and forum have shell set to /bin/false

try using "sudo su -m edxapp" instead.

Mayuri Karnik

unread,
Sep 13, 2016, 6:40:32 AM9/13/16
to General Open edX discussion
bash: /home/vagrant/share_x11: Permission denied
This is what I get when i try "sudo su -m edxapp". Please help

Jason Onoda

unread,
Sep 13, 2016, 3:22:54 PM9/13/16
to General Open edX discussion
What I've been doing is "sudo su edxapp -s /bin/bash"

The -s flag is overriding the default shell (in the standard case is /bin/false) with the one that you're indicating (/bin/bash)

Ned Batchelder

unread,
Sep 14, 2016, 11:16:06 AM9/14/16
to edx-...@googlegroups.com
Please double-check that you are dealing with a devstack installation.  You shouldn't have to override the shell if the installation was successful.  If your devstack doesn't let you change the user, then check the installation logs to find out what failed.

If you have a fullstack installation, then your shells will be set to /bin/false, since you shouldn't need shell access as those other users.

--Ned.

--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/fd21dbd5-478f-4231-abb4-9fe40a7e6a67%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages