disabling py shell access

Change-Id: I91ab48b9ca6423557137268112a90bbc51e9edf3