User home directory and login shell.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 04 Jan 2021 10:48:34 +0200
changeset 2497 8407a34a1b5d
parent 2496 1251d8e57794
child 2498 8c90e7713884
User home directory and login shell.
cygwin.rst
--- a/cygwin.rst	Mon Jan 04 10:47:28 2021 +0200
+++ b/cygwin.rst	Mon Jan 04 10:48:34 2021 +0200
@@ -105,8 +105,11 @@
   POSIX accounts, permission, and security.
 
 Modern Cygwin (v3.x) relies on ``/etc/nsswitch.conf`` for user settings. That means there are no
-``/etc/passwd`` & ``/etc/group`` and user home directory and login shell is defined according to
-``nsswitch.conf``.
+``/etc/passwd`` & ``/etc/group`` and user home directory and login shell are defined according to
+``nsswitch.conf``::
+
+  db_home:  /home/%U
+  db_shell: /bin/bash
 
 Earlier Cygwin used ``/etc/passwd`` & ``/etc/group`` and sometimes you were required to regenerate
 them::