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:22:20 (GMT) |
commit | cc8106c5de821ef602a126bd05d2e4cdbf0d7bad (patch) | |
tree | 96847316fb10f659300642fe77c1607ce71e9c5a | |
parent | 0db08040550f6beec6557e5ba6b455b27c8996eb (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 d737e59..e3e681d 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: |