I have already installed rootsh and I have run both commands sudo gainroot and root, but the result is same.