From 2889130e0b79b5be27f041bf464f2953fed0786e Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 14 Feb 2014 14:25:19 +0000 Subject: [PATCH] * uinfo.cc (pwdgrp::fetch_account_from_windows): Default to /bin/bash as login shell. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/uinfo.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 29dfdcad2..b91971ec9 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2014-02-14 Corinna Vinschen + + * uinfo.cc (pwdgrp::fetch_account_from_windows): Default to /bin/bash + as login shell. + 2014-02-13 Corinna Vinschen * ldap.cc (cyg_ldap::fetch_posix_offset_for_domain): If domain name diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index e6533c23a..5a0177b82 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -1698,7 +1698,7 @@ pwdgrp::fetch_account_from_windows (fetch_user_arg_t &arg, bool group) dom, name, sid.string (sidstr), home ? L"" : L"/home/", home ?: user ?: name, - shell ?: L"/bin/sh"); + shell ?: L"/bin/bash"); sys_wcstombs_alloc (&line, HEAP_BUF, linebuf); debug_printf ("line: <%s>", line); return line;