diff --git a/src/pty.c b/src/pty.c index 799eb55..81c9b8a 100644 --- a/src/pty.c +++ b/src/pty.c @@ -201,7 +201,7 @@ exec_child(const char *term, char **argv, const char *seat) if (!term) term = "vt220"; if (!argv) - argv = (char*[]){ "/bin/sh", "-l", NULL }; + argv = (char*[]){ "/bin/login", NULL }; setenv("TERM", term, 1); if (seat)