]>
Commit | Line | Data |
---|---|---|
6d616f8b JB |
1 | --- entrance-0.9.0.009/src/client/entrance_session.c.orig 2007-04-03 13:36:51.000000000 +0200 |
2 | +++ entrance-0.9.0.009/src/client/entrance_session.c 2007-09-09 18:38:09.567076559 +0200 | |
3 | @@ -854,7 +854,7 @@ | |
4 | if (shell && (strlen(shell) > 0)) | |
5 | shell_cmd = shell; | |
6 | else | |
7 | - shell_cmd = strdup("/bin/sh"); | |
8 | + shell_cmd = strdup("/bin/bash"); | |
1285f52f | 9 | |
6d616f8b JB |
10 | if (session_name) |
11 | snprintf(buf, sizeof(buf), "%s %s", session_cmd, session_name); | |
12 | @@ -871,7 +871,7 @@ | |
13 | syslog(LOG_NOTICE, | |
14 | "Neither '%s' or '/bin/sh' are working login shells for user '%s'. Your session may not function properly. ", | |
15 | shell, user); | |
16 | - shell_cmd = strdup("/bin/sh"); | |
17 | + shell_cmd = strdup("/bin/bash"); | |
18 | ||
19 | res = execlp(shell_cmd, shell_cmd, "-c", buf, NULL); | |
1285f52f | 20 |