diff options
author | Sayamindu Dasgupta <sayamindu@gmail.com> | 2008-09-22 20:22:20 (GMT) |
---|---|---|
committer | Sayamindu Dasgupta <sayamindu@gmail.com> | 2008-09-22 20:23:26 (GMT) |
commit | 688e05434fbf5f66505bd7396dc58da38bfcdf47 (patch) | |
tree | 1e59c040dca30eaacc1f74fb54142e9a4e5d8835 | |
parent | 7810a8103d78772d9a15f4166bc4202490a95f0c (diff) |
Make the root shell a login shell #8515
-rw-r--r-- | terminal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal.py b/terminal.py index d239bc5..2977a83 100644 --- a/terminal.py +++ b/terminal.py @@ -95,7 +95,7 @@ class TerminalActivity(activity.Activity): self._vte.paste_clipboard() def _become_root_cb(self, button): - self._vte.fork_command("/bin/su") + self._vte.fork_command("/bin/su", ('/bin/su', '-')) def __key_press_cb(self, window, event): if event.state & gtk.gdk.CONTROL_MASK and event.state & gtk.gdk.SHIFT_MASK: |