"sudo command" does not work with rootsh. Only sudo gainroot works to enable root terminal. However you can use it as "rootsh command".