Add privilege mode to Shell.java