diff options
author | David Macek via Cygwin-patches <cygwin-patches@cygwin.com> | 2020-04-21 21:31:09 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2020-04-22 10:32:33 +0300 |
commit | d5add9ee5e5e6e5dca97bc6061f427407c006de0 (patch) | |
tree | b5012d00ba1f620d996c9a1443623d45caa6f87b /winsup/doc/ntsec.xml | |
parent | f47347716ceb3149321f941411e3abaf1b12970f (diff) |
Cygwin: accounts: Unify nsswitch.conf db_* defaults
Signed-off-by: David Macek <david.macek.0@gmail.com>
Diffstat (limited to 'winsup/doc/ntsec.xml')
-rw-r--r-- | winsup/doc/ntsec.xml | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/winsup/doc/ntsec.xml b/winsup/doc/ntsec.xml index 528784568..a4c253098 100644 --- a/winsup/doc/ntsec.xml +++ b/winsup/doc/ntsec.xml @@ -1507,19 +1507,16 @@ of each schema when used with <literal>db_home:</literal> </variablelist> <para> -As has been briefly mentioned before, the default setting for -<literal>db_home:</literal> is +<literal>db_home:</literal> defines no default schemata. If this setting is not +present in <filename>/etc/nsswitch.conf</filename>, the aforementioned fallback +takes over, which is equivalent to a <filename>/etc/nsswitch.conf</filename> +settting of </para> <screen> db_home: /home/%U </screen> -<para> -So by default, Cygwin just sets the home dir to -<filename>/home/$USERNAME</filename>. -</para> - </sect4> <sect4 id="ntsec-mapping-nsswitch-shell"> @@ -1590,8 +1587,10 @@ when used with <literal>db_shell:</literal> </variablelist> <para> -As for <literal>db_home:</literal>, the default setting for -<literal>db_shell:</literal> is pretty much a constant +<literal>db_shell:</literal> defines no default schemata. If this setting is +not present in <filename>/etc/nsswitch.conf</filename>, the aforementioned +fallback takes over, which is equivalent to a +<filename>/etc/nsswitch.conf</filename> settting of </para> <screen> @@ -1664,13 +1663,13 @@ The following list describes the meaning of each schema when used with <varlistentry> <term>Fallback</term> <listitem>If none of the schemes given for <literal>db_gecos:</literal> - define a non-empty pathname, nothing is added to + define a non-empty string, nothing is added to <literal>pw_gecos</literal>.</listitem> </varlistentry> </variablelist> <para> -The default setting for <literal>db_gecos:</literal> is the empty string. +<literal>db_gecos:</literal> defines no default schemata. </para> </sect4> |