* uinfo.cc (pwdgrp::fetch_account_from_windows): Default to /bin/bash

as login shell.
This commit is contained in:
Corinna Vinschen 2014-02-14 14:25:19 +00:00
parent 1eedd4c98c
commit 2889130e0b
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-02-14 Corinna Vinschen <corinna@vinschen.de>
* uinfo.cc (pwdgrp::fetch_account_from_windows): Default to /bin/bash
as login shell.
2014-02-13 Corinna Vinschen <corinna@vinschen.de> 2014-02-13 Corinna Vinschen <corinna@vinschen.de>
* ldap.cc (cyg_ldap::fetch_posix_offset_for_domain): If domain name * ldap.cc (cyg_ldap::fetch_posix_offset_for_domain): If domain name

View File

@ -1698,7 +1698,7 @@ pwdgrp::fetch_account_from_windows (fetch_user_arg_t &arg, bool group)
dom, name, dom, name,
sid.string (sidstr), sid.string (sidstr),
home ? L"" : L"/home/", home ?: user ?: name, home ? L"" : L"/home/", home ?: user ?: name,
shell ?: L"/bin/sh"); shell ?: L"/bin/bash");
sys_wcstombs_alloc (&line, HEAP_BUF, linebuf); sys_wcstombs_alloc (&line, HEAP_BUF, linebuf);
debug_printf ("line: <%s>", line); debug_printf ("line: <%s>", line);
return line; return line;